Install Apache2, PHP 5, & MySQL 5
Hello, not sure if this is the right section, but I installed CentOS 4.5 on my Spare computer and Im looking for instructions on how to install Apache 2.2.4, PHP 5.2.3, MySQL 5.1.2. does anyone know where to get one, or have one please?
|
|
I just installed Apache/MySQL/PHP myself by using the 'yum' command on CentOS. They aren't the *latest* versions but they're quite recent. I'm using CentOS 5 and was using this tutorial:
http://www.howtoforge.com/perfect_setup_centos5.0 |
I also installed LAMP on centos5.0 but anyone know how can i check them to make sure it'll work because I used the tutorial from howtoforge.com/perfect_setup_centos5 and don't know how to check if they're running.
|
1) to see if mysql is installed, just type 'mysql -uroot -p' from the command line. You will be prompted for the password you entered at install time. If you forgot that password, there is a way to reset it but I forgot how.
2) As for apache, just open a browser and type in the IP of your server. It *should* show you the apache default page. leave this browser window open. 3) For PHP, find the web document root folder (it's probably /var/www/html) and put a file in there called index.php and type this in it: PHP Code:
|
All times are GMT -5. The time now is 04:22 AM. |