码迷,mamicode.com
首页 > Web开发 > 详细

编译安装php5.6

时间:2017-08-22 23:04:23      阅读:187      评论:0      收藏:0      [点我收藏+]

标签:figure   regex   get   use   ring   soa   install   zlib   math   

sudo yum -y install curl-devel  bzip2 bzip2-devel libxml2  libxml2-devel  libjpeg libpng freetype libjpeg-devel libpng-devel freetype-devel   libc-client-devel  epel-release epel-release  libmcrypt libmcrypt-devel  libxslt-devel  

 

 

 

./configure --prefix=/usr/local/php --with-zlib-dir --with-freetype-dir --enable-mbstring --with-libxml-dir=/usr/local/libxml --enable-soap --enable-calendar --with-curl --with-mcrypt --with-zlib --with-gd  --disable-rpath --enable-inline-optimization --with-bz2 --with-zlib --enable-sockets --enable-sysvsem --enable-sysvshm --enable-pcntl --enable-mbregex --enable-exif --enable-bcmath --with-mhash --enable-zip --with-pcre-regex --with-mysql --with-pdo-mysql --with-mysqli --with-jpeg-dir=/usr/local/libjpeg --with-png-dir=/usr/local/libpng --enable-gd-native-ttf --with-openssl --with-fpm-user=www --with-fpm-group=www --with-libdir=lib64 --enable-ftp --with-imap --with-imap-ssl --with-kerberos --with-gettext --with-xmlrpc --with-xsl --enable-opcache --enable-fpm --enable-xml --enable-shmop --enable-session --enable-ctype --with-iconv-dir --with-iconv

 

make 

make install

 

编译安装php5.6

标签:figure   regex   get   use   ring   soa   install   zlib   math   

原文地址:http://www.cnblogs.com/tony1314/p/7413916.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!