RHEL5系统下从源代码搭建LAMP(3)

 

 

首页服务器应用

背景:

阅读新闻

RHEL5系统下从源代码搭建LAMP

[日期:2010-10-08]   来源:Linux社区  作者:zys5   [字体:]  

三,安装编译APACHE
#tar xjvf httpd-2.2.4.tar.bz2 -C /tmp
#cd /tmp/httpd-2.2.4
# ./configure \
          "--prefix=/usr/local/apache2" \ #apache安装路径
          "--with-included-apr" \                         
          "--enable-so" \
          "--enable-deflate=shared" \
          "--enable-expires=shared" \
          "--enable-rewrite=shared" \
          "--enable-static-support" \      
          "--disable-userdir"          #关闭对用户家目录支持
#make
#make install
#echo '/usr/local/apache2/bin/apachectl start ' >> /etc/rc.local
四,编译安装 PHP
#tar xjvf php-5.2.3.tar.bz2 /tmp
#cd /tmp/php-5.2.3
# ./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" \
"--with-libxml-dir=/usr/local/libxml2" \
"--with-gd=/usr/local/gd2" \
"--with-jpeg-dir" \
"--with-png-dir" \
"--with-bz2" \
"--with-freetype-dir" \
"--with-iconv-dir" \
"--with-zlib-dir " \
"--with-openssl=/usr/local/openssl" \
"--with-mcrypt=/usr/local/libmcrypt" \
"--enable-soap" \
"--enable-gd-native-ttf" \
"--enable-memory-limit" \
"--enable-ftp" \
"--enable-mbstring" \
"--enable-exif" \
"--disable-ipv6" \
"--disable-cgi" \
"--disable-cli"
# make
# make install
# mkdir /usr/local/php/etc
# cp php.ini-dist /usr/local/php/etc/php.ini

linux

 

Ubuntu下使用Xdebug分析PHP程序的瓶颈

Apache查看连接数和限制当前的连接数

相关资讯       RHEL5  lamp 

   

本文评论   查看全部评论 (0)


评论声明

尊重网上道德,遵守中华人民共和国的各项有关法律法规

承担一切因您的行为而直接或间接导致的民事或刑事法律责任

本站管理人员有权保留或删除其管辖留言中的任意内容

本站有权在网站内转载或引用您的评论

参与本评论即表明您已经阅读并接受上述条款

 

 

 

最新资讯

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wygxsf.html