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

Re: Using mysql support with php4-cgi.



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.



Reply to: