Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to get my apache2 to work under Ubuntu.

I've installed all packages from MySQL to PHP and Apache. When I program on PHP, the PHP scripts aren't recognized and aren't interpreted.

I uncommented the line extension=mysql.so but the Apache server is not running, so that when I run /etc/init.d/apache2 restart it fails and doesn't even start.

I've only installed the packages, nothing more than that.

share|improve this question

migrated from stackoverflow.com Dec 6 '13 at 13:41

This question came from our site for professional and enthusiast programmers.

    
will you post exact error shown on your terminal –  gvgvgvijayan Dec 6 '13 at 13:06
    
Did you take a look at apache logs? –  xmarston Dec 6 '13 at 13:06
    
You need to make sure php.so is uncommented (or you have an entry in /etc/php.d). I'm not sure that uncommenting mysql.so will do anything for you. –  Machavity Dec 6 '13 at 13:19

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.