Re: Problems with 4.3.0 cli and paths
| From: | Marek Kilimajer | Date: | Fri, 31 Jan 2003 14:58:23 +0000 |
| Subject: | Re: Problems with 4.3.0 cli and paths | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133786@lists.php.net to get a copy of this message | ||
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