Phpinfo has successfully loaded the imagick extension, but I use get_extension_funcs (& #039; imagick & #039;); but there is no way. I followed the following steps: first, use yum to install {code ...} install the ImageMagick-6.5.4 successfully and then install the php extension {code ...} above press... phpinfo has successfully loaded the imagick extension, but I use
get_extension_funcs('imagick');
But there is no way.
As follows:
First, use yum to install
yum install -y ImageMagick ImageMagick-devel
Successfully installed ImageMagick-6.5.4
Then install php Extension
phpize ./configure --with-php-config=/usr/local/php5.5/bin/php-config --with-imagick=/usr/make && make install
All of the above is successful, but this method is not available when I use the imagick extension.
Last useget_extension_funcs('imagick');
Function to view the method in this extension, but found nothing?
Why?
Environment
Centos 6.5 + nginx1.4.7+php5.5
Reply content:
Phpinfo has successfully loaded the imagick extension, but I useget_extension_funcs('imagick');
But there is no way.
As follows:
First, use yum to install
yum install -y ImageMagick ImageMagick-devel
Successfully installed ImageMagick-6.5.4
Then install php Extension
phpize ./configure --with-php-config=/usr/local/php5.5/bin/php-config --with-imagick=/usr/make && make install
All of the above is successful, but this method is not available when I use the imagick extension.
Last useget_extension_funcs('imagick');
Function to view the method in this extension, but found nothing?
Why?
Environment
Centos 6.5 + nginx1.4.7+php5.5
You may need to runphp -i |grep 'extension_dir'
Check whether the so file is successfully compiled in the corresponding directory.
Then runphp -i |grep 'ini'
Locate the ini configuration file and add it.
[Imagick] extension = so file name