Web Hosting Talk







View Full Version : Crontab


DonGans
08-21-2002, 12:44 AM
I can get php to work fine under crontab, but it won't recognise mysql. It can't connect to it, saying mysql_connect is an undefined function! It's been "ticking" me off for a while now, and it's rather urgent!
Can anyone help, please?
Thanks,

interactive
08-21-2002, 12:47 AM
what version of php? if you want pm me

robinbalen
08-21-2002, 07:04 AM
you're presumably compiling the PHP binary to use from the command line then?

you'll have to enable MySQL support at compile time to do this:


./configure --with-mysql

:)