Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I used the following commands

sudo atp-get install apache2
sudo apt-get install mysql-server
sudo apt-get install php5
sudo apt-get install phpmyadmin

sudo /etc/init.d/apache2 restart

after everything was done, I typed http://localhost in chromium... nothing happened. Can anyone help?

share|improve this question
Please include apache error log /var/log/apache2/error.log – Achu Nov 23 '12 at 6:56
Run "service apache2 status" and "netstat -nap | grep :80" or "lsof -i :80", see if the service is up and running, also if port 80 is being used, if so, what process. – Terry Wang Nov 23 '12 at 7:03

You must first check error in the apache error log. To check error type following command in your terminal:

tail -f /var/log/apache2/error.log

It will show you what is the error, and resolve it accordingly, i guess you might have not configured lamp properly.

Check here for the complete installation tutorial.


share|improve this answer
for installing pdo, this will help you: – Coder anonymous Nov 23 '12 at 8:57
up vote 0 down vote accepted

I installed apache and all the rest reading this article... Now I want to install PDO :S Help?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.