php优化

来源:互联网 发布:java set 多线程 编辑:程序博客网 时间:2024/05/16 08:04

   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 

原创粉丝点击