I really need some help here. I have been ruing php 7.0 with mod_php and mod_ruid2 and imagick extension installed from source, it have worked correct. However I have now changed to use php-fpm, it seems to work correct except I am not able to get imagick extension to work correctly.
imagick extension shows up correct in a phpinfo page, however when I upload a test file like this to a domain:
Code:
<?php
echo "<pre>";
system("which convert");
echo "</pre>";
?>
Here is a link to a phpinfo page: (removed link because problem now is solved)
Here is how I installed imagick:
Code:
cd /root wget http://pecl.php.net/get/imagick-3.4.3.tgz tar zxf imagick-3.4.3.tgz cd imagick-3.4.3 /usr/local/php70/bin/phpize ./configure --with-php-config=/usr/local/php70/bin/php-config make make install
Code:
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
Code:
HOME /home/USERNAME
Maybe I should have deleted some old files from the mod_php installation? I really need some help here, completely stuck.
برچسب:
نویسنده: ایمان اصلاحی