Re: PHP 4.0 Bug #7372: cron job
| From: | Jason Greene | Date: | Fri, 20 Oct 2000 21:15:21 +0000 |
| Subject: | Re: PHP 4.0 Bug #7372: cron job | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35677@lists.php.net to get a copy of this message | ||
Sounds like a LD_LIBRARY_PATH thing,
try
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:(Location of libpng.so.2);export LD_LIBRARY_PATH;php4 somefile.php4
-Jason
> ----- Original Message -----
> From: <admin@clickxchange.com>
> To: <php-dev@lists.php.net>
> Sent: Friday, October 20, 2000 12:07 PM
> Subject: [PHP-DEV] PHP 4.0 Bug #7372: cron job
>
>
> > From: admin@clickxchange.com
> > Operating system: Solaris 2.7
> > PHP version: 4.0.3pl1
> > PHP Bug Type: Unknown/Other Function
> > Bug description: cron job
> >
> > 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
> >
> >
> > --
> > Edit Bug report at:
> > http://bugs.php.net/?id=7372&edit=1
> >
> >
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-dev-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
>