# make ; make install # cp php.ini-dist /usr/local/lib/php.ini # cd ../apache_1.3.12 # ./configure --prefix=/home/apache --activate-module=src/modules/php4/libphp4.a # make ; make install
现在,要写一个文件,让apache在计算机启动时也启动。 and you will edit /etc/rc.d/rc.sysinit , add auto_run file at the last line. auto_run will be created at /usr/sbin and with x mode.
auto_run is: #!/bin/sh /home/apache/bin/apachectl restart