|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7372 cron job
Submitted: 2000-10-20 15:07 UTC Modified: 2000-10-22 11:02 UTC
From: admin at clickxchange dot com Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.0.3pl1 OS: Solaris 2.7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
44 + 7 = ?
Subscribe to this entry?

 [2000-10-20 15:07 UTC] admin at clickxchange dot com
PHP4 is working fine when used at the command prompt:

php somefile.php4

However, the exact same command used in a cron job will give this result:

Your "cron" job on
php somefile.php4
produced the following output: php: fatal: open failed: No such file or directory

PHP3 does not have this problem.   

Thanks for your time
Craig Tammel


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-22 11:02 UTC]
Seems that environment of the user you run cron job for is not set up to find that library. 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Dec 09 08:01:29 2023 UTC