阅读内容 

Linux下安PHP,APACHE,MYSQL,PERL方法 4

[日期:2004-06-20] 来源:  作者: [字体: ]

cp /mysql/share/mysql/mysql.server /etc/rc.d/init.d/mysql
cd /etc/rc.d/rc3.d
ln -s ../init.d/mysql S70mysql

系统启动时加载mysql

#) apache 的预编译

CC="egcs" \
OPTIM="-O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro \
-march=pentiumpro -fomit-frame-pointer -fno-exceptions" \
CFLAGS="-DDYNAMIC_MODULE_LIMIT=0" \
./configure \
--prefix=/apache \

#) PHP的预编译

CC="egcs" \
OPTIM="-O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro \
-march=pentiumpro -fomit-frame-pointer -fno-exceptions" \
./configure \
--prefix=/usr \
--with-apache=../apache_1.3.12 \
--enable-safe-mode \
--with-mm \
--enable-inline-optimization \
--enable-memory-limit \
--enable-track-vars \
--with-mysql=/mysql \

#) 安装PHP

make
make install
make clean

#) mode_perl 的预编译

perl Makefile.PL \
EVERYTHING=1 \
APACHE_SRC=http://www.blue1000.com//apache_1.3.12/src \
USE_APACI=1 \
DO_HTTPD=1

#) 安装mod_perl

make
make install
make clean

#) 编译apache

EAPI_MM=SYSTEM \
CC="egcs" \
OPTIM="-O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro \
-march=pentiumpro -fomit-frame-pointer -fno-exceptions" \
CFLAGS="-DDYNAMIC_MODULE_LIMIT=0" \
./configure \
--prefix=/apache \
--activate-module=src/modules/PHP4/libphp4.a \
--enable-module=PHP4 \
--activate-module=src/modules/perl/libperl.a \
--enable-module=perl

#) 安装apache

make
make install
make clean

cp /apache/bin/apachectl /etc/rc.d/init.d/httpd
cd /etc/rc.d/rc3.d
ln -s ../init.d/httpd S80httpd

系统启动时加载apache

#) 安装eperl

perl Makefile.PL

make
make test
make install
make clean
-frame-pointer -fno-exceptions" \
CFLAGS="-DDYNAMIC_MODULE_LIMIT=0" \
./configure \
--prefix=/apache \
--activate-module=src/modules/PHP4/libphp4.a \
--enable-module=PHP4 \
--activate-module=src/modules/perl/libperl.a \
--enable-module=perl

#) 安装apache

make
make install
make clean

cp /apache/bin/apachectl /etc/rc.d/init.d/httpd
cd /etc/rc.d/rc3.d
ln -s ../init.d/httpd S80httpd

系统启动时加载apache

#) 安装eperl

perl Makefile.PL

make
make test
make install
make clean


make
make test
make install
make clean
make clean

?

阅读:
录入:

推荐 】 【 打印
相关新闻      
本文评论       全部评论
发表评论
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款


点评: 字数
姓名:
Advertisement
内容查询


Advertisement