login about faq

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

I downloaded the file from this link

http://www.chilkatsoft.com/download/9.5.0.52/chilkat-9.5.0-php-5.6-x86_64-linux.tar.gz

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

kevindcs
11556


Thanks.. I'll have a look..

link

answered Sep 24 '15 at 16:42

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

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

link

answered Sep 24 '15 at 22:37

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

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

link

answered Sep 30 '15 at 10:45

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

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

By RSS:

Answers

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

Tags:

×37
×17

Asked: Sep 24 '15 at 14:20

Seen: 787 times

Last updated: Sep 30 '15 at 10:51

powered by OSQA