Generally yes, since 4.3 cli does not change the working directory

Robert Mena wrote:

Hi,

I have upgraded my server with the 4.3.0 version. The
cli was upgraded also and all my scripts started to
crash.

I ususally put a #!/husr/local/bin/php -q in all
scripts that need to be executed from the crontab.

All the sudden the scripts ended with error messages
such as Warning: main(../php/define.php)
[http://www.php.net/function.main]: failed to create
stream: No such file or directory in
/home/httpd/html/script.php on line 11

What's going on ?

Do I need to put the full path now ?

regards.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



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

Reply via email to