Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I had Apache2 with MySQL and PHP working perfectly fine in Ubuntu. I ran the command "sudo pecl install pdo_dobc", restarted Apache and now wont display any pages on the server as if it didn't restart properly.

When I restarted I had a message saying "httpd (no pid file) not running."

Any help will be most appreciated.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

/var/log/apache2/error.log will probably tell you exactly what's gone wrong.

share|improve this answer
    
It certainly put my on a path to finding the problem. I found that if I deleted the contents of the error.log file restarted apache, i mananaged to pinpoint the error in the log which was "/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_get_dbh_ce" after searching for a while on google, I by chance was able to restore /usr/lib/php5/20060613+lfs/pdo.so from a backup which apparently loads before pdo_mysql.so, I think there was some compatability problems or something when I tried to install pdo_odbc. –  Jenski Nov 4 '09 at 11:23
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.