lsyf8 发表于 2018-12-16 11:54:06

php常用编译指令

  ./configure
  --prefix=/usr/local/php7
  --with-apxs2=/usr/sbin/apxs
  --enable-fpm
  --with-fpm-user=www
  --with-fpm-group=www
  --enable-soap
  --with-openssl
  --with-openssl-dir
  --with-mcrypt
  --with-pcre-regex
  --with-zlib
  --with-iconv
  --with-bz2
  --enable-calendar
  --with-curl
  --with-pcntl
  --with-cdb
  --enable-dom
  --enable-exif
  --with-pcre-dir
  --enable-ftp
  --with-gd
  --with-jpeg-dir
  --with-png-dir
  --with-freetype-dir
  --with-gettext
  --with-gmp
  --with-mhash
  --enable-mbstring
  --with-libmbfl
  --with-onig
  --enable-pdo
  --with-pdo-mysql
  --with-zlib-dir
  --with-readline
  --enable-session
  --enable-shmop
  --enable-simplexml
  --enable-sockets
  --enable-sysvmsg
  --enable-sysvsem
  --enable-sysvshm
  --enable-wddx
  --with-libxml-dir
  --with-xsl
  --enable-zip
  --enable-mysqlnd
  --with-mysqli=/usr/bin/mysql_config
  --without-pear
  




页: [1]
查看完整版本: php常用编译指令