I just learn to setup AMP on centos. Below are the steps Download a copy of CentOS Linux and install it Once your CentOS is installed. type yum install httpd to install apache web server type yum install php to install PHP Once PHP installed successfully, type yum install mysql-server mysql Once everything finish, type service httpd start to start your apache web server, screen will show you if web server service successfully started type service mysqld sta rt to start your mysql server Once both services is running, you can point your browser to http://localhost and you should see a welcome page from CentOS To test php is running properly, go to /var/www/html and create an index.php file with the content below
A place for sharing Mac OS X, Linux and Windows tips!!