Re: [PHP-DEV] PHP 4.0 Bug #7372: cron job From: Jason Greene (usrgre-php <email protected>)
Date: 10/20/00

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 <email protected>>
> To: <php-dev <email protected>>
> Sent: Friday, October 20, 2000 12:07 PM
> Subject: [PHP-DEV] PHP 4.0 Bug #7372: cron job
>
>
> > From: admin <email protected>
> > 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 <email protected>
> > For additional commands, e-mail: php-dev-help <email protected>
> > To contact the list administrators, e-mail: php-list-admin <email protected>
> >
>
>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>