matt1237
asked on
How do I make Imagemagick work when I have 3 versions of PHP installed?
Question
How do I make Imagemagick work for each of the 3 PHP versions I have installed?My Environment
CentOS 7
PHP versions 5.4, 5.5, and 5.6 installed and working
Have Imagemagick 6 installed and working for the default version of PHP 5.4 that comes with CentOS 7
Webmin/Virtualmin (similar to Pleask) is being used to handle the shared hosting and select what verion of PHP to use per site
For reference on how I installed PHP 5.6, here are the command I ran to install PHP 5.6.
yum install rh-php56
yum install rh-php56-php-mysqlnd rh-php56-php-gd rh-php56-php-xmlrpc rh-php56-php-bcmath rh-php56-php-mbstring rh-php56-php-pecl-xdebug rh-php56-php-xdebug-debuginfo rh-php56-php-pspell rh-php56-php-soap rh-php56-php-intl rh-php56-php-pecl-jsonc-debuginfo rh-php56-php-pecl-xdebu-debuginfo rh-php56-php-recode
scl enable rh-php56 bash
yum provides */imagemagick.so ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I've requested that this question be closed as follows:
Accepted answer: 0 points for matt1237's comment #a40943495
for the following reason:
gheist, "yum provides */imagemagick.so" didn't seem to work for me. Maybe it's different for CentOS 7 or something. I also tried "yum provides */imagick.so" but that didn't work either so I accepted my solution as the one that worked.
Accepted answer: 0 points for matt1237's comment #a40943495
for the following reason:
gheist, "yum provides */imagemagick.so" didn't seem to work for me. Maybe it's different for CentOS 7 or something. I also tried "yum provides */imagick.so" but that didn't work either so I accepted my solution as the one that worked.
ASKER
Please do not delete this solution but accept my solution as the correct one. I provided a very detailed solution that I would really like to be kept as a record of how to fix this issue... there are no other solutions like this currently on the web.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the reply