login about faq

I want to install chilkat version on linux server running php 5.6.7

I downloaded the file from this link


following the instructions, I copied the .so file to the extensions directory and enabled it under dynamic extensions in the php.ini file.

When I run the included test.php I get this message:

PHP Warning: dl(): Dynamically loaded extensions aren't enabled in /home/<username>/chilkat-9.5.0-php-5.6-x86_64-linux/chilkat_9_5_0.php on line 22 PHP Fatal error: Call to undefined function new_CkCrypt2() in /home/<username>/chilkat-9.5.0-php-5.6-x86_64-linux/chilkat_9_5_0.php on line 4414

I double checked the php.ini file and enable_dl is set to On

asked Sep 24 '15 at 14:20

kevindcs's gravatar image


Thanks.. I'll have a look..


answered Sep 24 '15 at 16:42

chilkat's gravatar image

chilkat ♦♦

I found 2 problems. First, there was a yet-to-be-seen problem with the .so, so I re-built all the PHP builds to v9.5.0.53. Re-download from here: http://www.chilkatsoft.com/php.asp

The 2nd problem is that you may have 2 versions of PHP installed. One might use the command "php", the other "php5". When I installed PHP 5.6.13 afresh, the command is "php5".

Therefore, when looking for the extensions directory, and the directory where php.ini is installed, use "php5" if that is the command for your PHP 5.6.* install.

On my Ubuntu 14.04 LTS machine, I have the following:

"php" is version 5.3.3, located at /usr/local/bin/php, with an extensions directory at /usr/local/lib/php/extensions/no-debug-non-zts-20090626, with php.ini in /usr/local/lib

"php5" is version 5.6.13, located at /usr/bin/php5, with an extensions directory at /usr/lib/php5/20131226, with php.ini in /etc/php5/cli


answered Sep 24 '15 at 22:37

chilkat's gravatar image

chilkat ♦♦

Thank you so much for your fast response.

I was able to finally get the test.php to work using just php5 not php.

I fear that apache is using php. When i run the script from my website, I see in the log the same error message as before:

Call to undefined function dl()

I did more reading and dl() was removed from many distrobutions already and will be removed from all php versions very soon.

If my version of php doesn't support dl() what else can I do?

(Sep 25 '15 at 08:38) kevindcs

Do you have any update on this?

(Sep 30 '15 at 10:38) kevindcs

No, I don't know what you can do without dl() supported..

(Sep 30 '15 at 10:46) chilkat ♦♦

Try the new builds (v9.5.0.53) here: http://www.chilkatsoft.com/php.asp


answered Sep 30 '15 at 10:45

chilkat's gravatar image

chilkat ♦♦

The error I am getting is with the new build

(Sep 30 '15 at 10:51) kevindcs
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Sep 24 '15 at 14:20

Seen: 2,488 times

Last updated: Sep 30 '15 at 10:51

powered by OSQA