Comments on Installing Apache2 With PHP5 And MySQL Support On CentOS 5.3 (LAMP)

Installing Apache2 With PHP5 And MySQL Support On CentOS 5.3 (LAMP) LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache2 webserver on a CentOS 5.3 server with PHP5 support (mod_php) and MySQL support.

7 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Danny Bessems

Instead of using the command "mysqladmin" to set the root password and access mask, you are better off using the command "/usr/bin/mysql_secure_installation"; it will run you through several steps to make your mysql installation secure (root password, root access mask, test users, test databases).

By: Harvester

thanks, I used it.

By: Ronald

Used it. Thanks!

By: Anonymous

Great guide and works perfectly, thank you.

Useful for setting up so many things, in my case it was Joomla.

 

By: Sathishkumar

Thanks a lot, its working well. :)

By: Andriy Zhdanov

First of all, thanks, it helped a lot.

And, it's missing:

yum install php-mysql

And to set host password the new password is also needed:

mysqladmin -h server1.example.com -u root -pyourrootpassword password yogamamadvd

By: Joe

hello, im using command : # yum install httpd

i get error msg :

Error unpacking rpm package httpd-2.2.3-65.el5.centos.3.i386
warning: /etc/httpd/conf/httpd.conf created as /etc/httpd/conf/httpd.conf.rpmnew
error: unpacking of archive failed on file /usr/lib/httpd: cpio: chown