php编译选项(有关注释只整理了这么多)
2010-06-14 16:50
369 查看
./configure --prefix=/usr/local/php
--with-apxs2=/usr/local/apache2/bin/apxs
--with-config-file-path=/usr/local/php/etc
--with-mysql=/usr/local/mysql
--enable-fastcgi
--enable-force-cgi-redirect
--with-zlib
--with-gd
--with-ttf
--with-png
--with-gmp
--with-xml #支持xml解析程序库
--with-jpeg-dir
--with-freetype-dir
--with-expat-dir=/usr #为了系统的安全考虑,会指定php程序一定要在哪个目
录执行
--with-mysql=/usr/local/mysql --with-charset=utf-8
--with-config-file-path=/usr/local/lib #指定php.ini路径,供php初始化用
--disable-debug --disable-posix --disable-rpath --disable-debug
--disable-dmalloc
--enable-safe-mode #安全模式
--enable-magic-quotes
--enable-bcmath #打开高精度函数。必须要安装本函数库,选项方有效
--enable-dio
--enable-gd-native-ttf
--enable-sysvsem #使用sysv的信号机制,要打开本选项
--enable-sysvshm
--enable-wddx
--enable-versioning
--enable-pic
--enable-inline-optimization
--enable-memory-limit
--enable-mbstring
--enable-mbregex
--enable-mbstr-enc-trans
--enable-ftp
--enable-track-vars=yes #让php能追踪HTTP_GET_VARS、HTTP_POST_VARS 及
HTTP_COOKIE_VARS 三个变量,一般是打开的。
--enable-gd-native-ttf
--enable-dl #允许dl()函数(安全模式下始终禁用该函数,而不管如何设置)
--with-apxs2=/usr/local/apache2/bin/apxs
--with-config-file-path=/usr/local/php/etc
--with-mysql=/usr/local/mysql
--enable-fastcgi
--enable-force-cgi-redirect
--with-zlib
--with-gd
--with-ttf
--with-png
--with-gmp
--with-xml #支持xml解析程序库
--with-jpeg-dir
--with-freetype-dir
--with-expat-dir=/usr #为了系统的安全考虑,会指定php程序一定要在哪个目
录执行
--with-mysql=/usr/local/mysql --with-charset=utf-8
--with-config-file-path=/usr/local/lib #指定php.ini路径,供php初始化用
--disable-debug --disable-posix --disable-rpath --disable-debug
--disable-dmalloc
--enable-safe-mode #安全模式
--enable-magic-quotes
--enable-bcmath #打开高精度函数。必须要安装本函数库,选项方有效
--enable-dio
--enable-gd-native-ttf
--enable-sysvsem #使用sysv的信号机制,要打开本选项
--enable-sysvshm
--enable-wddx
--enable-versioning
--enable-pic
--enable-inline-optimization
--enable-memory-limit
--enable-mbstring
--enable-mbregex
--enable-mbstr-enc-trans
--enable-ftp
--enable-track-vars=yes #让php能追踪HTTP_GET_VARS、HTTP_POST_VARS 及
HTTP_COOKIE_VARS 三个变量,一般是打开的。
--enable-gd-native-ttf
--enable-dl #允许dl()函数(安全模式下始终禁用该函数,而不管如何设置)
相关文章推荐
- PHP 5.6 编译安装选项说明
- 有关编译安装php和php-fpm时出现的问题
- Xcode编译选项有关资料
- php中注释有关内容
- PHPDocumentor 注释规范整理
- 有关平台移植预编译命令的一些体会 _64选项
- PHP编译选项
- PHP经典四种排序算法重整理----注释有详解
- 编译Apache\ PHP\ Mysql 注意的选项
- linux 编译安装php选项
- PHP编译选项
- PHP 的编译配置详细选项
- 64位centos6.5下安装php5.4.31的编译选项与错误处理
- linux下php编译安装---编译参数整理
- linux编译php的编译选项
- PHPDocumentor 注释规范整理
- PHP编译选项
- Lampp 中php编译配置选项
- PHP源码编译整理
- linux 编译安装php选项详解