Page 1 of 1

Installing PDO blows up webserver

Posted: Sun Sep 28, 2008 9:12 am
by slartybartfast
I'm a sorta clueless newbie trying to set up a server (Ubuntu Hardy Heron) with SSH, Apache2, PHP 5.2, Ruby, ProFtpd, and PostgreSQL 8.3, and want to use PDO. I set up everything but the PDO, and all works beautifully - very pleased with myself as I've never touched Linux before. Then I try to set up PDO, and I plummet to earth with a thud.

I run:
pecl install pdo
pecl install pdo_pgsql

I add to php.ini:
extension=pdo.so
extension=pdo_pgsql.so

then restart apache:
/etc/init.d/apache2 force-reload
/etc/init.d/apache2 restart

and I get the message
httpd (no pid file) not running

and from that point on I could not browse to my webserver, got...
Firefox can't establish a connection to the server at 192.168.0.100.

Never had that error before until I installed PDO, and was able to get a connection. So I rebuilt the server from bottom up, documenting every step, and again all was working until I installed PDO and changed the php.ini file

Please help -- I'm baffled