Home  >  Article  >  Backend Development  >  编译安装php-5.5.15

编译安装php-5.5.15

WBOY
WBOYOriginal
2016-06-23 13:34:461131browse

一、环境

    系统:CentOS 6.4x64

    IP: 192.168.3.48

二、安装基础软件包

[root@lnmp-test ~]# yum install zlib libxml libjpeg freetype libpng gd curl libiconv zlib-devel libxml2-devel libjpeg-devel freetype-devel libpng-devel gd-devel curl-devel -y

三、安装libiconv

#下载软件[root@lnmp-test ~]# wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz[root@lnmp-test ~]# tar xf libiconv-1.14.tar.gz [root@lnmp-test ~]# cd libiconv-1.14[root@lnmp-test libiconv-1.14]# ./configure --prefix=/usr/local/libiconv[root@lnmp-test libiconv-1.14]# make && make install

四、安装libmcrypt

#下载软件[root@lnmp-test ~]# wget http://sourceforge.net/projects/mcrypt/files/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz/download[root@lnmp-test ~]# tar xf libmcrypt-2.5.8.tar.gz [root@lnmp-test ~]# cd libmcrypt-2.5.8[root@lnmp-test libmcrypt-2.5.8]# ./configure


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn