Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

2 Answers

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.

Thanks.

share|improve this answer
    
for installing pdo, this will help you: php.net/manual/en/book.pdo.php wiki.kryn.org/How_to_install_php_pdo_debian/ubuntu –  Coder anonymous Nov 23 '12 at 8:57
add comment
up vote 0 down vote accepted

I installed apache and all the rest reading this http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-ubuntu-11.04-lamp article... Now I want to install PDO :S Help?

share|improve this answer
add comment

Your Answer

 
discard

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.