Posted by dburdick on 08/28/06 00:40
I was referred to this forum as this may be a php specific problem.
Some kind of configuration problem maybe.
I have some php files that connect to a mysql database and are run as
cron jobs.
The scripts work fine when run via the command line as root, but when
run via the cron they cause a mysql connection error.
Call to undefined function: mysql_pconnect()
I have found some info on this and tried many things but none of them
are working.
Does this have something to do with setting the appropriate environment
in php
script? I read something about that but am not sure how or what to do.
Please help!!!
Thank you!
[Back to original message]
|