Ubuntu Install Apache, PHP, MySQL

15 02 2010

sudo apt-get install apache2 php5 libapache2-mod-php5 mysql-server phpmyadmin
Enter password

sudo /etc/init.d/apache2 restart

/var/www/ is directory for http://localhost

Fix 404 at http://localhost/phpmyadmin:
sudo gedit /etc/apache2/apache2.conf

Add the following code at the bottom of the file, save and quit.
Include /etc/phpmyadmin/apache.conf

Advertisements

Actions

Information

3 responses

10 06 2011
ledaiduong

cam on rat nhieu .

24 02 2012
adel

please URL to phpmyadmin

24 02 2012
adel

sudo /etc/init.d/apache2 restart

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: