Reply to Re: [PHP] Command line vs Cron

Your name:

Reply:


Posted by Richard Heyes on 10/20/07 11:31

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация