How to Install PHP and Mysql in Ubuntu 9.04 (Jaunty Jackalope)

Install PHP and Mysql in ubuntu linux is very easy

First You have to install Apache Webserver
After that you can Install PHP and Mysql

Open a Terminal using Applications–> Accessories –> Terminal

Then You will get $ prompt
Do the following

$ sudo apt-get install apache2 ( If you have already installed apache Omit this line)
$ sudo apt-get install php5
$ sudo apt-get install libapache2-mod-php5
$ sudo apt-get install mysql-server
$ sudo apt-get install php5-mysql
$ sudo /etc/init.d/apache2 restart

Now You can write your php scripts and put it into the folder /var/www

Now you can install PHPMYADMIN a very useful front end utility for managing Mysql

$ sudo apt-get install phpmyadmin

2 responses to this post.

  1. Posted by Marji P on October 27, 2009 at 9:47 am

    Thanks 4 sharingnya .

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: