Running PHP script from procmail: Error loading shared libraries

Bill Jonas bill at billjonas.com
Tue Feb 7 10:21:37 MST 2006


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    *    bill at billjonas.com    *    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


More information about the PLUG-discuss mailing list