PHP Script for Downloading, Installing, and Testing Chilkat
Here is a bash shell script for downloading, unpacking, installing, and testing the 64-bit PHP 7.4 extension for Chilkat.
1) It assumes PHP 7.4 was installed to $HOME/phps/php74.
2) This example is downloading Chilkat version 9.5.0.82 (change the wget URL to the latest version)
export PATH=$HOME/phps/php74/bin:$PATH php -v cd if [ ! -d testing ]; then mkdir testing fi cd testing if [ ! -d php74 ]; then mkdir php74 fi cd php74 rm -f *.tar.gz wget http://chilkatdownload.com/9.5.0.82/chilkat-9.5.0-php-7.4-x86_64-linux.tar.gz tar xzf chilkat*.tar.gz cd chilkat*linux cp chilkat_9_5_0.so $HOME/phps/php74/lib/php/extensions/no-debug-non-zts-20190902/ php test.php
admin
0
Tags :