How To's

Installing LAMP on Linux

2,683 views · 0 found this helpful

Was this helpful?

LAMP stands for: Linux, Apache, MySQL, PHP

Using Yum:

yum -y install httpd php mysql-server mysql
service httpd start
chkconfig httpd on
service mysqld start
chkconfig mysqld on

Using Aptitude (apt-get):

apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server
  • Updated

← All articles

Still stuck?

Our engineers answer tickets directly, 24/7.