If you know where is your PHP Apache php.ini (you can find out by calling phpinfo() on a php file and opening the corresponding page in your browser), you can then modify your PHP script called by your cron to use this Apache php.ini:
php -c /path/to/apache/php.ini myscript 2010/6/10 Jochen Daum <[email protected]> > Hi, > > maybe someone has uploaded their l local php.ini? Note that on Debian > there is a PHP CLI and a PHP Apache php.ini > > Kind Regards, > > Jochen Daum > > Chief Automation Officer > Automatem Ltd > > Phone: 09 630 3425 > Mobile: 021 567 853 > Email: [email protected] > Skype: jochendaum > Website: www.automatem.co.nz > http://www.meetup.com/Auckland-Business-Networking/ > http://twitter.com/automatem > http://nz.linkedin.com/in/automatem > http://www.xing.com/go/invite/3425509.181107 > > > > On Thu, Jun 10, 2010 at 10:08 PM, yeosteve <[email protected]> wrote: > > HI, > > > > I hae a cron job running a php script, and it works ok, but the system > > emails me with a whole lot of warnings like this: > > PHP Warning: PHP Startup: Unable to load dynamic library '\xampplite > > \php\ext\/php_gd2.dll' - \xampplite\php\ext\/php_gd2.dll: cannot open > > shared object file: No such file or directory in Unknown on line 0 > > > > This is on a VPS, not my home set up, in fact the only place I have > > xampplite is on my USB stick. > > > > Can anyone tell me why that happen? Should I worry? > > > > thanks > > > > Steve > > > > -- > > NZ PHP Users Group: http://groups.google.com/group/nzphpug > > To post, send email to [email protected] > > To unsubscribe, send email to > > [email protected]<nzphpug%[email protected]> > > > > -- > NZ PHP Users Group: http://groups.google.com/group/nzphpug > To post, send email to [email protected] > To unsubscribe, send email to > [email protected]<nzphpug%[email protected]> > -- Mikael Letang Mobile: 021 027 436 45 Skype: mikaelletangns -- NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected]
