CentOS 下PHP编译环境的安装

yum install gcc-c++ libstdc++-devel -y

yum install make autoconf automake

yum install zlib zlib-devel

yum install libxml2 libxml2-devel

yum install pcre pcre-devel

yum install libjpeg libjpeg-devel

yum install freetype freetype-devel

yum install libpng libpng-devel

yum install glibc glibc-devel (iconv)

libmycrypt
http://sourceforge.net/projects/mcrypt/files/

Libmcrypt
./configure
make && make install

libmhash
http://sourceforge.net/projects/mhash/files/mhash/
./configure
make && make install

mcrypt
export LD_LIBRARY_PATH=/usr/local/lib
./configure
make && make install

yum install libtool-ltdl libtool-ltdl-devel openssl openssl-devel

yum install libcurl libcurl-devel

yum install mysql-devel

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据