Just in case there were not enough of these pots. Here is one more.

1. Install Apache (httpd), PHP, MySQL (server and client), and the component that allows php to talk to mysql.
{code}yum install httpd php mysql mysql-server php-mysql php-pdo{/code}

2. Configure the new services to start automatically
{code}/sbin/chkconfig httpd on
/sbin/chkconfig mysqld on{/code}

{code}/sbin/service httpd start
/sbin/service mysqld start{/code}

3. Set up the mysql database root password.
{code}mysqladmin -u root password ‘new-password’ {/code}

4. Make additional security-related changes to mysql.
{code}mysql -u root -p
DROP DATABASE test; [removes the test database]
DELETE FROM mysql.user WHERE user = ”; [Removes anonymous access]

5. Create a database and database user for your data. You will use this database and user name in your database connection string. The GRANT statement actually creates a new MySQL user account.
{code}CREATE DATABASE web_db;
GRANT ALL PRIVILEGES ON web_db.* TO ‘web_user’@’localhost’ IDENTIFIED BY ‘thepassword’;{/code}