Steps to install Apache, MySQL, PHP, PhpMyAdmin over Ubuntu 11.10

Here is a brief description of installing the top most Web-Application developments tools for LAMP Technologies (Linux, Apache, MySQL, PHP).

Here, I’m presuming that you already have a Linux machine with Ubuntu(likely v11.10).

Steps to install Apache2 Server:

sudo apt-get install apache2

Steps to install MySQL5 Client and Server:

sudo apt-get install mysql-server mysql-client

Steps to install PHP5:

sudo apt-get install php5 libapache2-mod-php5

Setting MySQL5 Support In PHP5:

sudo apt-get install php5-mysql

Installing additional dependencies:

sudo apt-get install php5-curl php5-gd php5-idn php-pear
sudo apt-get install php5-imagick php5-imap php5-mcrypt
sudo apt-get install php5-memcache php5-ming php5-ps php5-pspell
sudo apt-get install php5-recode php5-snmp php5-sqlite
sudo apt-get install php5-tidy php5-xmlrpc php5-xsl

Steps to install PhpMyAdmin:

sudo apt-get install phpmyadmin

To set up PhpMyAdmin under Apache2, you just need to add the following line of code to /etc/apache2/apache2.conf

# Include Phpmyadmin
Include /etc/phpmyadmin/apache.conf

Now, restart Apache to get the changes affected.

sudo /etc/init.d/apache2 restart

or

sudo service apache2 restart

Once phpMyAdmin is installed point your browser to http://localhost/phpmyadmin to start using it.

Cheers 🙂

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply