Comments on Install Apache2, PHP5 And MySQL Support On CentOS 6.5 (LAMP)
LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache2 webserver on a CentOS 6.4 server with PHP5 support (mod_php) and MySQL support.
22 Comment(s)
Comments
I noticed when you give the command
"vi /etc/httpd/conf.d/phpmyadmin.conf"
it should be /etc/httpd/conf.d/phpMyAdmin.conf
file name is in lower case in centos6.5 . so all of the above worked for me just by copy pasting the commands to putty, without a single glitch.
Exactly what I was looking for. An easy to follow tutorial for a basic LAMP setup. Everything worked for me.
Thanks for the tutorial!
Using CentOS 6.5, I couldn't access the web site from any other machine (except locally) until i used system-config-firewall-tui and enabled HTTP.
Wow, thanks for the heads up on the firewall tui. Twas a lifesaver.
Thanks for this, just what I wanted. Very outdated version installed though? Any pointers on bringing it up to date?
tried on my centos x64 6.3 box. works w/o a single glitch.
Everything works...but when i tried the last one to connect to phpmyadmin, it ask for user name and password.
which user name and password? please help
thanks
This is the mysql Login. You can use e.g. username: root and the mysql root Password that you entered during mysql Installation.
Such n Excellent post!!
Hola, podrías agregar al final de este tutorial que se configuren los puertos 80 y 443 desde consola con la instrucción:
system-config-firewall-tui
Thank's a Lot, this tutorial really help me to know how runing and configure a web server on Centos 6.5,
Even i'm new in linux world.. but im joyfull to learn how it linux os work, start from this tutorial..
Installing all of the components I needed to get Apache and MySql running was very easy. The explanations were great.
Thanks
Wolf1lead
Great job. Thank you.
By the way, how can I install APC with php55w?
When I went to access the phpmyadmin on my site i got this error
ForbiddenYou don't have permission to access /phpmyadmin on this server.
Apache/2.2.15 (CentOS) Server at (ip adress) Port 80 I set everything up as the instructions above showed me but i still got an error. IDK whyIt's been so long since I setup a server from scratch. Thank you. This was very helpful.
Nice tutorial.
Just my two cents. If you cant see apache demo page... just try to open port 80. It was my pain in the b*t
Fantastic tutorial. Simple and true.
Great post. for those who don't know opening port 80 if you can't see the demo page:
first try: service iptables stop
If you now see the demo page start them again: service iptables start
now: iptables -I INPUT 5 -p tcp -m tcp --dport 80 -j ACCEPT
and save them: service iptables save
then restart them: /etc/init.d/iptables restart
Thank you so much. All the steps worked for me without any problem.