Home > Backend Development > PHP Tutorial > 编译安装php-5.5.15

编译安装php-5.5.15

WBOY
Release: 2016-06-23 13:34:46
Original
1156 people have browsed it

一、环境

    系统: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
Copy after login

三、安装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
Copy after login

四、安装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
Copy after login


Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template