LAMP====linux+appache+mysql+php
1.appache:服务名称httpd 安装httpd-2.2.3-31.el5.i386.rpm
安装完成后在 /etc/httpd/conf/httpd.conf配置文件
注意:Include conf.d/*.conf
DocumentRoot "/var/www/html"
打开服务:/etc/init.d/httpd start
2.安装php按照如下步骤安装:
php-common-5.1.6-23.2.el5_3.i386.rpm
php-cli-5.1.6-23.2.el5_3.i386.rpm
php-5.1.6-23.2.el5_3.i386.rpm
安装完成后注意:/etc/httpd/conf.d文件夹内容的变化
然后重启appache的服务
3.安装mysql
perl-DBI-1.52-2.el5.i386.rpm
mysql-5.0.77-3.el5.i386.rpm
perl-DBD-MySQL-3.0007-2.el5.i386.rpm
mysql-5.0.77-3.el5.i386.rpm
启动mysql :/etc/init.d/mysqld start