Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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?
If you are looking to compile from source, this article may help you out. If you are looking to use rpms, you can enable the centosplus yum repo or download the rpms from here. Note that the rpms are a slighly older version of AMP.
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:
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:
<?php phpinfo(); ?>
then refresh the browser from step 2 which is pointing to your server's IP. you should get a different looking page that outputs all the php information.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.