记录个人php编译安装
安装之前:
yum -y install curl-devel libxml2-devel libpng-devel libmcrypt-devel libjpeg-devel openssl-devel wget ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/attic/libmcrypt/libmcrypt-2.5.7.tar.gz tar -zxvf libmcrypt-2.5.7.tar.gz cd libmcrypt-2.5.7 ./configure --prefix=/usr/local/libmcrypt make && make install
下载php:
wget -c http://au1.php.net/get/php-5.6.8.tar.gz/from/this/mirror tar -zxvf mirror cd php-5.6.8/ ./configure --enable-fpm --enable-soap --enable-sockets --enable-zip --with-curl --with-mysql=/usr/local/mysql-5.5.41-linux2.6-x86_64 --with-mysqli=/usr/local/mysql-5.5.41-linux2.6-x86_64/bin/mysql_config --with-gd --with-openssl --with-pdo-mysql=/usr/local/mysql-5.5.41-linux2.6-x86_64 --prefix=/usr/local/php --with-iconv --with-mcrypt=/usr/local/libmcrypt make && make install
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。