nginx php 配置

阅读更多

yum install libxml2-devel

yum install freetype-devel jpeg-devel libpng-devel 

yum install libmcrypt libltdl 

yum install libtool-ltdl-devel

yum install curl-devel

yum install mysql-devel

 

./configure --prefix=/usr/local/php5.3.27  --with-zlib --enable-mbstring --with-openssl --with-mysql --with-mysqli --with-mysql-sock --with-gd --with-jpeg-dir=/usr/lib --with-iconv --with-png-dir=/usr/local/lib/ --enable-gd-native-ttf --without-sqlite --enable-pdo --with-pdo-mysql --with-gettext --with-curl --with-pdo-mysql --enable-sockets --enable-bcmath --enable-xml --with-gettext --enable-zip  --enable-sysvmsg --enable-sysvsem --enable-exif --enable-fpm

 

你可能感兴趣的:(nginx php 配置)