Re: PDO install kills webserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks to those who responded, hope this answers your combined questions...

[Sun Sep 28 07:55:57 2008] [notice] suEXEC mechanism enabled (wrapper:
/usr/lib/apache2/suexec)
/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613/pdo_mysql.so:
undefined symbol: php_pdo_get_dbh_ce

The above is from my apache2 error.log.  As a newbie (and fairly clueless),
this doesn't mean much to me, however I see it does mention pdo_mysql, which
is strange because I don't have MySQL on the machine (I use PostgreSQL), and
pdo_mysql is not referenced in the php.ini file.

I've tried removing pdo_pgsql from php.ini and removing the PDO package in
an attempt to recover, but it still fails -- seems unrecovereable once it
happens.  I have also posted on php boards.

Hope this sheds some light....



slartybartfast wrote:
> 
> I'm trying to set up a server (on Ubuntu Hardy Heron) with SSH, Apache2,
> PHP 5.2.x, 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 -- then Apache (or something) breaks.
> 
> Please help -- I'm baffled
> 

-- 
View this message in context: http://www.nabble.com/PDO-install-kills-webserver-tp19711249p19711749.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux