【Linux下安PHP,APACHE,MYSQL,PERL方法 4】cp /mysql/share/mysql/mysql.server /etc/rc.d/init.d/mysql
cd /etc/rc.d/rc3.d
ln -s ../init.d/mysql S70mysql
系統(tǒng)啟動(dòng)時(shí)加載mysql
#) apache 的預(yù)編譯
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的預(yù)編譯
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 的預(yù)編譯
perl Makefile.PL
EVERYTHING=1
APACHE_SRC=https://www.rkxy.com.cn/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
系統(tǒng)啟動(dòng)時(shí)加載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
系統(tǒng)啟動(dòng)時(shí)加載apache
#) 安裝eperl
perl Makefile.PL
make
make test
make install
make clean
make
make test
make install
make clean
make clean
推薦閱讀
- 如何打開php文件
- Linux下基于DNS的多機(jī)均衡負(fù)載的實(shí)現(xiàn)
- 隨心所欲下載—構(gòu)造你自己的Linux網(wǎng)絡(luò)螞蟻
- 如何理解PHP
- 擔(dān)心LINUX的未來(lái)
- Linux下可打開文件描述符的比較大數(shù)如何增大
- linux系統(tǒng)時(shí)間設(shè)置
- Linux新天王——年輕商務(wù)精英的隨身利器!
- Linux未來(lái)大猜想從--E6看linux未來(lái)
- linux如何復(fù)制文件
