php.net |  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
 [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 clickxchange.com
php somefile.php4
 
produced the following output:

ld.so.1: php: fatal: libpng.so.2: open failed: No such file or directory



PHP3 does not have this problem.   

Thanks for your time
Craig Tammel

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-22 11:02 UTC] stas@php.net
Seems that environment of the user you run cron job for is not set up to find that library. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 30 22:01:28 2024 UTC