Re: Command line vs Cron

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

 



Dan Seibert wrote:
I have a script that connects to a sybase server. It works fine if I launch it from a shell script however, if I try to launch the same script through a cron, I get the message "PHP Fatal Error: call to undefined function sybase_connect..."

Why can I not connect to sybase through a cron but I can through shell?

You may have two instances of the php cli/cgi binary, compiled differently. Try using `locate` or `find` on the cmd line to find them.

--
Richard Heyes

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux