小贴士:Linux下启动mysql命令
必须要root帐号
#su
#(输入密码)
#/etc/init.d/mysql start|stop|restart|reload
tar zxvf httpd-2.0.59.tar.gz
Linux下安装Apache
cd /home/wj
tar -zxvf httpd-2.0.54.tar.gz
mv httpd-2.0.54 apache
cd apache
./configure --prefix=/usr/local/apache2 --enable-module=so
make
make install
[一开始没有安装GCC]
启动Apache
在apache的目录bin下,运行:
./apachectl start
停止:
./apachectl stop
重起:
./apachectl resart
安装php
./configure --prefix=/usr/local/php5
--with-apxs2=/usr/local/apache2/bin/apxs
--with-config-file-path=/usr/local/lib
--enable-track-vars
--with-xml
--with-MySQL
make
make install
