Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-28, 01:53:49

Author Topic: Install imagick error  (Read 6916 times)

0 Members and 1 Guest are viewing this topic.

Offline hoangsang

  • Valuable Member
  • *
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Install imagick error
« on: 2015-10-05, 19:01:12 »
Hi, i'm install imagick error phpize. Please help me!
Information server:

Code: [Select]
A. Kloxo-MR: 7.0.0.b-2015072103
   - Web: hiawatha-9.13.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.41-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.6 (Final) x86_64
   - Hostname: bns.xxxxxx.com
C. Services:
   1. MySQL: MariaDB-server-10.0.20-1.el6.x86_64
   2. PHP:
      - Branch: php53u-cli-5.3.29-1.ius.el6.x86_64
      - Multiple:
        * php52m-5.2.17-102.mr.el6
        * php53m-5.3.29-1.ius.el6
        * php54m-5.4.41-1.ius.el6
        * php55m-5.5.25-1.ius.el6
        * php56m-5.6.9-1.ius.el6
      - Used: php53m
   3. Httpd: httpd-2.2.31-1.mr.el6.x86_64
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: nginx-1.9.3-1.el6.ngx.x86_64
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.7-1.mr.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64

Error:
Code: [Select]
# yum install ImageMagick ImageMagick-devel
# pecl install imagick
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading imagick-3.1.2.tgz ...
Starting to download imagick-3.1.2.tgz (94,657 bytes)
.....................done: 94,657 bytes
15 source files, building
running: phpize
Cannot find build files at '/usr/lib64/php/build'. Please check your PHP installation.

ERROR: `phpize' failed

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Install imagick error
« Reply #1 on: 2015-10-05, 19:41:52 »
If you want php imagick, try 'yum install php53u-imagick -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline hoangsang

  • Valuable Member
  • *
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: Install imagick error
« Reply #2 on: 2015-10-06, 03:41:42 »
If you want php imagick, try 'yum install php53u-imagick -y'.
This is error :(
Code: [Select]
[root@bns ~]# yum install php53u-imagick -y
Loaded plugins: fastestmirror, priorities, protectbase, replace
Setting up Install Process
Loading mirror speeds from cached hostfile
mratwork-epel/metalink                                   | 4.4 kB     00:00
 * base: mirrors.digipower.vn
 * extras: mirrors.digipower.vn
 * mratwork-epel: ftp.cuhk.edu.hk
 * mratwork-ius-stable: dfw.mirror.rackspace.com
 * updates: mirrors.digipower.vn
base                                                     | 3.7 kB     00:00
extras                                                   | 3.4 kB     00:00
mratwork-epel                                            | 4.3 kB     00:00
mratwork-epel/primary_db                                                                                                                                  | 5.7 MB     00:16
mratwork-ius-archive                                                                                                                                      | 2.3 kB     00:00
mratwork-ius-archive/primary_db                                                                                                                           | 2.8 MB     00:08
mratwork-ius-stable                                                                                                                                       | 2.2 kB     00:00
mratwork-ius-stable/primary_db                                                                                                                            | 185 kB     00:00
mratwork-mariadb-32                                                                                                                                       | 2.9 kB     00:00
mratwork-mariadb-64                                                                                                                                       | 2.9 kB     00:00
mratwork-nginx                                                                                                                                            | 2.9 kB     00:00
mratwork-nginx-stable                                                                                                                                     | 2.9 kB     00:00
mratwork-release-neutral-noarch                                                                                                                           |  951 B     00:00
mratwork-release-version-arch                                                                                                                             |  951 B     00:00
mratwork-varnish-3.0                                                                                                                                      |  951 B     00:00
updates                                                                                                                                                   | 3.4 kB     00:00
0 packages excluded due to repository protections
No package php53u-imagick available.
Error: Nothing to do
[root@bns ~]# pecl install imagick
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading imagick-3.1.2.tgz ...
Starting to download imagick-3.1.2.tgz (94,657 bytes)
.....................done: 94,657 bytes
15 source files, building
running: phpize
Cannot find build files at '/usr/lib64/php/build'. Please check your PHP installation.

ERROR: `phpize' failed

You can guide me install  imagick?
Thanks!
« Last Edit: 2015-10-06, 03:45:21 by hoangsang »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Install imagick error
« Reply #3 on: 2015-10-06, 04:36:18 »
You don't need install imagick separately because php imagick including include imagick.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline hoangsang

  • Valuable Member
  • *
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: Install imagick error
« Reply #4 on: 2015-10-06, 05:17:50 »
You don't need install imagick separately because php imagick including include imagick.
I'm run 'yum install php53u-imagick -y' but view phpinfo() don't find  imagick :(

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Install imagick error
« Reply #5 on: 2015-10-06, 05:48:27 »
You need restart with 'sh /script/restart-web -y' (because using php-fpm).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline hoangsang

  • Valuable Member
  • *
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: Install imagick error
« Reply #6 on: 2015-10-06, 05:57:23 »
You need restart with 'sh /script/restart-web -y' (because using php-fpm).
I'm restarted with 'sh /script/restart-web -y' but not found  imagick in phpinfo().

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Install imagick error
« Reply #7 on: 2015-10-06, 06:14:49 »
Sorry, try 'yum install php53u-pecl-imagick -y; sh /script/restart-web -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline hoangsang

  • Valuable Member
  • *
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: Install imagick error
« Reply #8 on: 2015-10-06, 06:19:41 »
Sorry, try 'yum install php53u-pecl-imagick -y; sh /script/restart-web -y'.
:(, after run :
Code: [Select]
[root@bns conf]# yum install php53u-pecl-imagick -y; sh /script/restart-web -y
Loaded plugins: fastestmirror, priorities, protectbase, replace
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirrors.digipower.vn
 * extras: mirrors.digipower.vn
 * mratwork-epel: ftp.cuhk.edu.hk
 * mratwork-ius-stable: dfw.mirror.rackspace.com
 * updates: mirrors.digipower.vn
0 packages excluded due to repository protections
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package php53u-pecl-imagick.x86_64 0:3.1.2-1.ius.el6 will be installed
--> Processing Dependency: libMagickWand.so.2()(64bit) for package: php53u-pecl-imagick-3.1.2-1.ius.el6.x86_64
--> Processing Dependency: libMagickCore.so.2()(64bit) for package: php53u-pecl-imagick-3.1.2-1.ius.el6.x86_64
--> Finished Dependency Resolution
Error: Package: php53u-pecl-imagick-3.1.2-1.ius.el6.x86_64 (mratwork-ius-archive)
           Requires: libMagickWand.so.2()(64bit)
Error: Package: php53u-pecl-imagick-3.1.2-1.ius.el6.x86_64 (mratwork-ius-archive)
           Requires: libMagickCore.so.2()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Stopping php53m-fpm:                                       [  OK  ]
Starting php53m-fpm:                                       [  OK  ]
-------------------------------------------------------------------

Stopping nginx:                                            [  OK  ]
Starting nginx:                                            [  OK  ]
-------------------------------------------------------------------

Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
-------------------------------------------------------------------

Error: Package: php53u-pecl-imagick-3.1.2-1.ius.el6.x86_64 (mratwork-ius-archive)
           Requires: libMagickWand.so.2()(64bit)

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Install imagick error
« Reply #9 on: 2015-10-06, 06:26:48 »
May trouble with php53 where this version already 'end of life' (as the same as php52). Better change php53u to php54. Try via ssh with 'sh /script/php-branch php54' and then 'yum php54-pecl-imagick -y; sh /script/restart-web -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline hoangsang

  • Valuable Member
  • *
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: Install imagick error
« Reply #10 on: 2015-10-06, 07:55:02 »
May trouble with php53 where this version already 'end of life' (as the same as php52). Better change php53u to php54. Try via ssh with 'sh /script/php-branch php54' and then 'yum php54-pecl-imagick -y; sh /script/restart-web -y'.
Error:
Code: [Select]
yum php54-pecl-imagick -y; sh /script/restart-web -y
Loaded plugins: fastestmirror, priorities, protectbase, replace
No such command: php54-pecl-imagick. Please use /usr/bin/yum --help


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Install imagick error
« Reply #11 on: 2015-10-06, 07:57:48 »
May trouble with php53 where this version already 'end of life' (as the same as php52). Better change php53u to php54. Try via ssh with 'sh /script/php-branch php54' and then 'yum php54-pecl-imagick -y; sh /script/restart-web -y'.
Error:
Code: [Select]
yum php54-pecl-imagick -y; sh /script/restart-web -y
Loaded plugins: fastestmirror, priorities, protectbase, replace
No such command: php54-pecl-imagick. Please use /usr/bin/yum --help

Sorry, I mean:
Code: [Select]
yum install php54-pecl-imagick -y; sh /script/restart-web -y
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline hoangsang

  • Valuable Member
  • *
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: Install imagick error
« Reply #12 on: 2015-10-06, 08:22:17 »
May trouble with php53 where this version already 'end of life' (as the same as php52). Better change php53u to php54. Try via ssh with 'sh /script/php-branch php54' and then 'yum php54-pecl-imagick -y; sh /script/restart-web -y'.
Error:
Code: [Select]
yum php54-pecl-imagick -y; sh /script/restart-web -y
Loaded plugins: fastestmirror, priorities, protectbase, replace
No such command: php54-pecl-imagick. Please use /usr/bin/yum --help

Sorry, I mean:
Code: [Select]
yum install php54-pecl-imagick -y; sh /script/restart-web -y
Thank you!
This is ok. (y)!

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.059 seconds with 18 queries.

web stats analysis