Hi,
I have php running under llighty, but am unable to connect to mysql with
php. The strange thing is, when I look at the phpinfo() output via
lighty, the configure line is like
'./configure' '--enable-fastcgi'
whereas running it on the command line, the line is
'./configure' '--enable-fastcgi'
'--with-mysql=/usr/local/mysql'
More data:
# which php
/usr/local/bin/php
# php --version
PHP 5.1.2 (cgi-fcgi) (built: Mar 25 2006 05:03:03) [...]
and lighttpd.conf points to that php:
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php-fastcgi.socket",
"bin-path" => "/usr/local/bin/php"
)
)
)
The error I get is a "Call to undefined function: mysql_pconnect".
Any help appreciated!