1,php安装时的优化
添加--enable-inline-optimization
--disable-debug
注意php的编译参数如下:
./configure --prefix=/usr/local/php
--with-apxs2=/usr/local/apache2/bin/apxs
--enable-mbstring
--with-mysqli=/usr/local/mysql/bin/mysql_config
--with-mysql=/usr/local/mysql
--with-gd=/usr/local/gd2
--enable-inline-optimization
--disable-debug
PHP安装与配置优化
本文详细介绍了PHP安装过程中的优化技巧,包括如何通过添加--enable-inline-optimization和--disable-debug参数来提升PHP的运行效率,并提供了具体的编译参数示例。
910

被折叠的 条评论
为什么被折叠?



