Reputation: 1309
I am trying to use chilkat php extension with pthreads extension. So I have ubuntu, php 7.2 with ZTS enabled and pthreads extension. As usual I have downloaded chilkat extension placed .so file into extensions folder and enabled chilkat extension in the php.ini file.
I have the following php startup error:
Warning: PHP Startup: Unable to load dynamic library 'chilkat_9_5_0.so' (tried: /etc/php7/lib/php/extensions/debug-zts-20170718/chilkat_9_5_0.so (/etc/php7/lib/php/extensions/debug-zts-20170718/chilkat_9_5_0.so: undefined symbol: compiler_globals), /etc/php7/lib/php/extensions/debug-zts-20170718/chilkat_9_5_0.so.so (/etc/php7/lib/php/extensions/debug-zts-20170718/chilkat_9_5_0.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Also I have tried to build extension from source here https://github.com/chilkatsoft/Chilkat-PHP-Extension But I don't know what does mean 'phpIncludeDir' ? What the folder exactly should I use ?
Upvotes: 0
Views: 639
Reputation: 1659
The Chilkat PHP builds are for PHP without ZTS enabled. Here are new builds with ZTS enabled. If these work fine, then they'll be available starting with the next version of Chilkat.
https://chilkatdownload.com/prerelease/chilkat-9.5.0-php-zts-7.2-x86_64-linux-1388.tar.gz https://chilkatdownload.com/prerelease/chilkat-9.5.0-php-zts-7.3-x86_64-linux-1389.tar.gz https://chilkatdownload.com/prerelease/chilkat-9.5.0-php-zts-7.2-x86-linux-1390.tar.gz https://chilkatdownload.com/prerelease/chilkat-9.5.0-php-zts-7.3-x86-linux-1391.tar.gz
Note: The above pre-release URLs will not remain valid forever..
Upvotes: 1