摘要:
Nginx与apache、lighttp性能综合对比,如下图: 注意:关闭rpm默认安装的apache和mysql1.准备php函数的rpm包yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel c... 阅读全文
摘要:
系统环境:Centos6.0 x641、确认搭建LAMP所需要的环境是否已经安装[root@centos6 ~]# rpm -q make gcc gcc-c++zlib-devellibaio备注:安装libpng时候需要zlib-devel安装mysql时候需要libaio2、如果没安装则yum安装[root@centos6 ~]# yum install make gcc gcc-c++zlib-devel libaio -y3、由于要使用编译安装,所以查看httpd、mysql、php是否安装,如果安装则卸载[root@centos6 ~]# rpm -q httpd mysql ph 阅读全文
摘要:
#./configure --prefix……检查编辑环境时出现:checking for APR... no configure: error: APR not found . Please read the documentation.可以用./configure –help | grep apr 查看帮助。 --with-included-apr Use bundled copies of APR/APR-Util --with-apr=PATH prefix for installed APR or the full path to apr-config --with-apr-util 阅读全文