up vote 0 down vote favorite
share [g+] share [fb]

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.

link|improve this question

25% accept rate
feedback

1 Answer

up vote 2 down vote accepted

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

link|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
feedback

Your Answer

 
or
required, but never shown

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