如何使用 bash for php 5.4 在 centos 5.8 64bit 上下载并安装最新版本的 imagick。
>yum info php
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.ellogroup.com
* epel: mirror01.th.ifl.net
* extras: mirror.ellogroup.com
* updates: mirror.ellogroup.com
Installed Packages
Name : php
Arch : x86_64
Version : 5.4.3
Release : 1.el5.remi
Size : 8.8 M
Repo : installed
Summary : The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
URL : http://www.php.net/
License : PHP
Description: PHP is an HTML-embedded scripting language. PHP attempts to make it
: easy for developers to write dynamically generated webpages. PHP also
: offers built-in database integration for several commercial and
: non-commercial database management systems, so writing a
: database-enabled webpage with PHP is fairly simple. The most common
: use of PHP coding is probably as a replacement for CGI scripts.
:
: The php package contains the module which adds support for the PHP
: language to Apache HTTP Server.
您对 ImageMagick 有特定的版本要求吗?
ImageMagick 是分发的一部分,因此
yum install ImageMagick.x86_64
将下载 ImageMagick。如果你有 php 5.4,那不是 CentOS 5.8 的一部分,所以检查一下它来自哪里
yum info php
。要安装 PHP 支持,
pkgs.org这是一个非常好的站点,可以找到任何软件包并进行安装。