lxy777 发表于 2016-12-25 07:20:05

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
页: [1]
查看完整版本: nginx php 配置