Re: Running PHP script from procmail: Error loading shared l…

Inizio della pagina
Allegati:
Messaggio come e-mail
+ (text/plain)
Delete this message
Reply to this message
Autore: Bill Jonas
Data:  
To: plug-discuss
Oggetto: Re: Running PHP script from procmail: Error loading shared libraries
On Tue, Feb 07, 2006 at 09:56:56AM -0700, Colin Rasor wrote:
> Check you PHP.ini file for the cli version of php. Most likely you don't
> have php-mysql or mysql compiled into that version.
>
> cat /etc/php4/cgi/php.ini |egrep mysql.so
> extension=mysql.so


$ grep mysql.so /etc/php/cgi/php.ini
$ ldd /usr/local/bin/php |grep mysql
        libmysqlclient.so.15 => /usr/lib/libmysqlclient.so.15 (0x402cb000)
$


It works from the command line, and it works intermittently from
procmail, usually just after I change something, after which it stops
working again.

-- 
Bill Jonas    *        *    http://www.billjonas.com/
"It's a dangerous business, Frodo, going out your front door.  You step
into the Road,  and if you don't keep your feet,  there  is  no knowing
where you might be swept off to."  --  Bilbo Baggins
---------------------------------------------------
PLUG-discuss mailing list - 
To subscribe, unsubscribe, or to change  you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss