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

Re: Using mysql support with php4-cgi.



Hi Alex,

Thanks very much for your answer, it now works as expected.

Regards, Fred.

Alexander Seidel wrote:
On Tue, Jan 21, 2003 at 05:30:01PM +0000, fred wrote:

I am trying to use php4-cgi to run some php scripts from cron. The problem is that php4-cgi is not built with mysql support, to find that out I did :

/usr/lib/cgi-bin/php4 -i


There are different php.ini for PHP4 as module and as CGI.

You need to install php4-mysql and to activate mysql support in
/etc/php4/cgi/php.ini.

Regards

Alex.




--
Fred Clausen - Systems Administrator
Unique Interactive, part of UBC Media Group plc
Winners of the 2002 CRCA NTL New Media Award

http://www.ubcmedia.com
http://www.uniqueinteractive.co.uk
T: +44 (0)20 7453 1667 F: +44 (0)20 7486 5081



Reply to: