php编译安装configure参数说明

2016-10-18

configure时参数很多,选自己需要的。

01.""" 安装路径"""
02.--prefix=/usr/local/php56
03.
04.""" php.ini 配置文件路径"""
05.--with-config-file-path=/usr/local/php56/etc
06.
07.""" 优化选项"""
08.--enable-inline-optimization
09.--disable-debug
10.--disable-rpath
11.--enable-shared
12.
13.""" 启用 opcache,默认为ZendOptimizer+(ZendOpcache) """
14.--enable-opcache
15.
16.""" FPM """
17.--enable-fpm 开启php的fastcgi功能,即开启php-fpm功能
18.--with-fpm-user=www
19.--with-fpm-group=www
20.
21.""" MySQL """
22.--with-mysql=mysqlnd
23.--with-mysqli=mysqlnd
24.--with-pdo-mysql=mysqlnd
25.
26.""" 国际化与字符编码支持"""
27.--with-gettext
28.--enable-mbstring  mbstring模块的主要作用在于检测和转换编码,提供对应的多字节操作的字符串函数。
29.--with-iconv
30.""" 加密扩展"""
31.--with-mcrypt
32.--with-mhash
33.--with-openssl
34.""" 数学扩展"""
35.--enable-bcmath
36.""" Web 服务,soap 依赖 libxml"""
37.--enable-soap \
38.--with-libxml-dir \
39.""" 进程,信号及内存"""
40.--enable-pcntl \
41.--enable-shmop \
42.--enable-sysvmsg \
43.--enable-sysvsem \
44.--enable-sysvshm \
45.""" socket & curl"""
46.--enable-sockets \
47.--with-curl \
48.""" 压缩与归档"""
49.--with-zlib \
50.--enable-zip \
51.--with-bz2 \
52.""" GNU Readline 命令行快捷键绑定"""
53.--with-readline

分类:Linux | 标签: |

相关日志

评论被关闭!