Reply to Re: Command line PHP: suppress warnings?

Your name:

Reply:


Posted by NC on 01/09/08 00:25

On Jan 8, 10:42 am, Franz Von Bayros <knotinmybacky...@gmail.com>
wrote:
>
> I have some PHP scripts run by cron that email me all day for no good
> reason. The scripts are outputting warnings like:
>
> PHP Warning: Module 'mysql' already loaded in Unknown on line 0
> PHP Warning: Module 'gd' already loaded in Unknown on line 0
> PHP Warning: Module 'zlib' already loaded in Unknown on line 0
>
> The environment is PHP 5.1.2 (cli) under FreeBSD.
>
> The jobs are called like so:
>
> 0,15,30,45 * * * * /usr/local/bin/php -f /www/subsites/whatever/
> htdocs/syncher.php
>
> Though I have also tried this using the -q flag instaed of -f.
>
> Any thoughts on suppressing this?

Check out php.ini and any other relevant initialization files you may
have. It looks like extensions are enabled twice.

Best regards,
NC

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация