zoukankan      html  css  js  c++  java
  • php编译选项

    ./configure --with-apxs2=/usr/local/httpd-2.4.33/bin/apxs
    --with-curl
    --with-freetype-dir=/usr/local/freetype
    --with-gd
    --with-gettext
    --with-iconv-dir
    --with-mysqli
    --with-mysql-sock=/var/lib/mysql/mysql.sock
    --with-pdo-mysql
    --with-openssl
    --with-pcre-regex
    --with-pdo-sqlite
    --with-pear
    --with-png-dir=/usr/local/libpng
    --with-jpeg-dir=/usr/local/libjpeg
    --with-xsl
    --with-zlib
    --with-libxml-dir=/usr/local/libxml2/
    --enable-fpm
    --enable-bcmath
    --enable-libxml
    --enable-inline-optimization
    --enable-mbregex
    --enable-mbstring=all
    --enable-opcache
    --enable-pcntl
    --enable-shmop
    --enable-soap
    --enable-sockets
    --enable-sysvsem
    --enable-xml
    --enable-zip 
    --enable-pdo

     ./configure --prefix=/usr/local/php7
    --with-config-file-path=/usr/local/php7/etc
    --with-config-file-scan-dir=/usr/local/php7/etc/php.d
    --with-mcrypt=/usr/include
    --enable-mysqlnd
    --with-mysqli
    --with-pdo-mysql
    --enable-fpm
    --with-fpm-user=nginx
    --with-fpm-group=nginx
    --with-gd
    --with-iconv
    --with-zlib
    --enable-xml
    --enable-shmop
    --enable-sysvmsg
    --enable-inline-optimization
    --enable-mbregex
    --enable-mbstring
    --enable-ftp
    --enable-gd-native-ttf
    --with-openssl
    --enable-pcntl
    --enable-sockets
    --with-xmlrpc
    --enable-zip
    --enable-soap
    --without-pear
    --with-gettext
    --enable-session
    --with-curl
    --with-jpeg-dir
    --with-freetype-dir
    --enable-opcache
    --enable-sysvshm
    --enable-sysvsem

    ./configure --prefix=/application/php5.6.27
      --with-mysql=/application/mysql-5.5.53
      --with-iconv-dir=/usr/local/libiconv
      --with-freetype-dir
      --with-jpeg-dir
      --with-png-dir
      --with-zlib
      --with-libxml-dir=/usr
      --enable-xml
      --disable-rpath
      --enable-safe-mode
      --enable-bcmath
      --enable-shmop
      --enable-sysvsem
      --enable-inline-optimization
      --with-curl
      --with-curlwrappers
      --enable-mbregex
      --enable-fpm
      --enable-mbstring
      --with-mcrypt
      --with-gd
      --enable-gd-native-ttf
      --with-openssl
      --with-mhash
      --enable-pcntl
      --enable-sockets
      --with-xmlrpc
      --enable-zip
      --enable-soap
      --enable-short-tags
      --enable-zend-multibyte
      --enable-static
      --with-xsl
      --with-fpm-user=nginx
      --with-fpm-group=nginx
      --enable-opcache=no
      --enable-ftp

  • 相关阅读:
    Wireshark使用
    21世纪最需要的7种人才
    .net中生成ssl web证书
    flash10a.ocx无法删除的解决
    iframe无刷新异步上传
    jquery验证网址输入
    jquery验证省市级联
    .net代码生成器自动生成DAL和BLL类库
    jquery实现checkbox全选(不全选)
    Web.config配置文件初识
  • 原文地址:https://www.cnblogs.com/yipianchuyun/p/11105352.html
Copyright © 2011-2022 走看看