MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: WISTFUL on 2013-03-18, 16:18:36
-
Today I try to install ImageMagick by this instruction (http://forum.mratwork.com/viewtopic.php?f=5&t=1690&start=10#p4229) again.
I does below:
1. Edit '/etc/yum.repos.d/kloxo-mr.repo' and add below codes on it:
[kloxo-mr-ius-centos5]
name=Kloxo-MR - IUS Community Packages for Enterprise Linux $releasever
baseurl=http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/$basearch
enabled=1
gpgcheck=0
includepkgs=php52*
2. Run 'sh /script/lxphp-module-install ImageMagick'
But after above steps no any new file added in '/usr/local/lxlabs/ext/php/etc/php.d' that I can update it.
This is my SSH result after 'sh /script/lxphp-module-install ImageMagick':
viewtopic.php?f=5&t=1690&start=20#p4267 (http://forum.mratwork.com/viewtopic.php?f=5&t=1690&start=20#p4267)
Mustafa, Please try install ImageMagick or any other module by lxphp-module-install and fix it's deficiency.
Thanks again.
-
lxphp-module-install have a problem when package have dependency. What's reason still using php 5.2 (lxphp still based on php 5.2).
-
What's reason still using php 5.2 (lxphp still based on php 5.2).
Because I need php 5.4 for some scripts on my server and others does not support php 5.4 but works properly on php 5.2. If I will can install GD/Freetype and ImageMagick I have not any problem with php 5.2.
Please find a way for solving this issue ...
-
Are you sure for 'sh /script/lxphp-module-install ImageMagick'?. What's about 'sh /script/lxphp-module-install pecl-imagick'
-
This is result of 'sh /script/lxphp-module-install pecl-imagick' :
Loaded plugins: fastestmirror, priorities, protectbase, replace, security
Loading mirror speeds from cached hostfile
Excluding mirror: mirror.de.leaseweb.net
* base: artfiles.org
Excluding mirror: centos.copahost.com
Excluding mirror: mirror.de.leaseweb.net
* extras: ftp.plusline.de
Excluding mirror: mirror.de.leaseweb.net
Excluding mirror: mirror.nl.leaseweb.net
* kloxo-mr-epel: vesta.informatik.rwth-aachen.de
* kloxo-mr-ius: mirrors.ircam.fr
Excluding mirror: mirror.de.leaseweb.net
* updates: centos.mirror.linuxwerk.com
base | 3.7 kB 00:00
extras | 3.5 kB 00:00
kloxo-mr-centalt | 951 B 00:00
kloxo-mr-centosec | 2.6 kB 00:00
kloxo-mr-epel | 4.2 kB 00:00
kloxo-mr-ius | 2.2 kB 00:00
kloxo-mr-ius/primary_db | 97 kB 00:00
kloxo-mr-ius-centos5 | 2.2 kB 00:00
kloxo-mr-nginx | 1.3 kB 00:00
kloxo-mr-release-neutral-arch | 1.9 kB 00:00
kloxo-mr-release-neutral-noarch | 1.9 kB 00:00
kloxo-mr-release-version-arch | 1.9 kB 00:00
kloxo-mr-release-version-noarch | 1.9 kB 00:00
kloxo-mr-varnish-3.0 | 951 B 00:00
updates | 3.5 kB 00:00
0 packages excluded due to repository protections
Setting up Install Process
Package yum-utils-1.1.30-14.el6.noarch already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, priorities, protectbase
Loading mirror speeds from cached hostfile
Excluding mirror: mirror.de.leaseweb.net
* base: mirror.informatik.hs-fulda.de
Excluding mirror: centos.copahost.com
Excluding mirror: mirror.de.leaseweb.net
* extras: ftp.plusline.de
Excluding mirror: mirror.de.leaseweb.net
Excluding mirror: mirror.nl.leaseweb.net
* kloxo-mr-epel: vesta.informatik.rwth-aachen.de
* kloxo-mr-ius: mirrors.ircam.fr
Excluding mirror: mirror.de.leaseweb.net
* updates: centos.mirror.linuxwerk.com
0 packages excluded due to repository protections
No Match for argument pecl-imagick
Nothing to download
rpm2cpio: *.rpm: No such file or directory
cpio: premature end of archive
cp: cannot stat `/tmp/lxphp-module/usr/lib64/php/modules/*': No such file or directory
cp: cannot stat `/tmp/lxphp-module/etc/php.d/*': No such file or directory
What are last 2 lines error in all lxphp-module-install results?
-
Sorry, I mean you need 'sh /script/lxphp-module-install php52-pecl-imagick'. For minimize dependency, run 'yum install php54-pecl-imagick' (when using php54 branch).
-
1. I first run 'sh /script/lxphp-module-install php52-pecl-imagick':
Loaded plugins: fastestmirror, priorities, protectbase, replace, security
Loading mirror speeds from cached hostfile
Excluding mirror: mirror.de.leaseweb.net
* base: mirror.informatik.hs-fulda.de
Excluding mirror: centos.copahost.com
Excluding mirror: mirror.de.leaseweb.net
* extras: ftp.plusline.de
Excluding mirror: mirror.de.leaseweb.net
Excluding mirror: mirror.nl.leaseweb.net
* kloxo-mr-epel: vesta.informatik.rwth-aachen.de
* kloxo-mr-ius: mirrors.ircam.fr
Excluding mirror: mirror.de.leaseweb.net
* updates: centos.mirror.linuxwerk.com
0 packages excluded due to repository protections
Setting up Install Process
Package yum-utils-1.1.30-14.el6.noarch already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, priorities, protectbase
Loading mirror speeds from cached hostfile
Excluding mirror: mirror.de.leaseweb.net
* base: mirror.informatik.hs-fulda.de
Excluding mirror: centos.copahost.com
Excluding mirror: mirror.de.leaseweb.net
* extras: ftp.plusline.de
Excluding mirror: mirror.de.leaseweb.net
Excluding mirror: mirror.nl.leaseweb.net
* kloxo-mr-epel: vesta.informatik.rwth-aachen.de
* kloxo-mr-ius: mirrors.ircam.fr
Excluding mirror: mirror.de.leaseweb.net
* updates: centos.mirror.linuxwerk.com
0 packages excluded due to repository protections
php52-pecl-imagick-3.0.1-1.ius.el5.x86_64.rpm | 111 kB 00:00
./etc/php.d/imagick.ini
./usr/include/php/ext/imagick/php_imagick.h
./usr/include/php/ext/imagick/php_imagick_defs.h
./usr/include/php/ext/imagick/php_imagick_shared.h
./usr/lib64/php/modules/imagick.so
./usr/share/doc/php52-pecl-imagick-3.0.1
./usr/share/doc/php52-pecl-imagick-3.0.1/CREDITS
./usr/share/doc/php52-pecl-imagick-3.0.1/INSTALL
./usr/share/doc/php52-pecl-imagick-3.0.1/TODO
./usr/share/doc/php52-pecl-imagick-3.0.1/examples
./usr/share/doc/php52-pecl-imagick-3.0.1/examples/captcha.php
./usr/share/doc/php52-pecl-imagick-3.0.1/examples/polygon.php
./usr/share/doc/php52-pecl-imagick-3.0.1/examples/thumbnail.php
./usr/share/doc/php52-pecl-imagick-3.0.1/examples/watermark.php
./usr/share/pear/.pkgxml/imagick.xml
757 blocks
And this time imagick.ini created to php.d directory
2. Edit '/usr/local/lxlabs/ext/php/etc/php.d' and change it's content to 'extension=/usr/local/lxlabs/ext/php/lib/imagick.so'
After that below error logged on '/usr/local/lxlabs/ext/php/error.log':
[18-Mar-2013 18:20:05] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lxlabs/ext/php/lib//usr/local/lxlabs/ext/php/lib/imagick.so' - /usr/local/lxlabs/ext/php/lib//usr/local/lxlabs/ext/php/lib/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
So I re edit '/usr/local/lxlabs/ext/php/etc/php.d' and change it's content to 'extension=imagick.so'
- Now imagick module is enabled on phpinfo but script still say "ImageMagick not found"
- already on php54 branch I have installed ImageMagick by 'yum install ImageMagick' and was enabled on the script but there was not any info about imagick on the phpinfo. After I run 'yum install php54-pecl-imagick' imagick module is enabled on phpinfo but script say "ImageMagick not found".
I have sent you them links.
-
ImageMagick is component need by php52-pecl-imagick dan also php54-pecl-imagick.
Also need 'yum install php54-pecl-imagick'.
-
Sorry, I don't understand your mean good.
(Before 'yum install php54-pecl-imagick', I have installed ImageMagick.)
Can you pls tell me now what I should do for solve my issue?