LAMP build under Linux

  
                  First, LAMP: Linux Apache Mysql PHP
Second, the order of installation: Apache ----- Mysql ----- PHP Note: PHP must be installed last
Third, install Apache
1. Download Httpd-2.*****.tar.gz to /usr/local/src
2. Unzip tar zxvf httpd-2.*****.tar.gz
3. Go to the installation directory Cd httpd-2.***
4. Pre-compiler configuration: ./configure - -prefix=/usr/local/apache1 - -enable -so
5. Compile and install: make ; make install
7. Edit the configuration file: vi /usr/local/apache1/conf/httpd.conf
Modify
User nobody
Group nobody
8. Start apache :/usr/local/apache /bin/apachectl start
9. View process: ps -aux
Copyright © Windows knowledge All Rights Reserved