小樱 发表于 2014/7/15 23:06

centos linux下安装php5.5.14的方法

yum -y install libxml2-devel httpd-devel libXpm-devel gmp-devel libicu-devel \
    t1lib-devel aspell-devel openssl-devel bzip2-devel libcurl-devel \
    libjpeg-devel libvpx-devel libpng-devel freetype-devel readline-devel \
    libtidy-devel libxslt-devel
wget http://us3.php.net/distributions/php-5.5.14.tar.gz
tar xzf php-5.5.14.tar.gz
cd php-5.5.14
./configure
make
make install
php -v


PHP文件路径
/usr/local/bin/php-cgi

输出信息为下,代表成功安装。
PHP 5.5.14 (cli) (built: Jul 15 2014 22:19:06)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies


傲视天下 发表于 2014/7/15 23:13

页: [1]
查看完整版本: centos linux下安装php5.5.14的方法