You are here: Re: Suppressing PHP Warnings from CLI « PHP Programming Language « IT news, forums, messages
Re: Suppressing PHP Warnings from CLI

Posted by Franz Von Bayros on 01/23/08 18:56

On Jan 22, 6:16 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> jerrygarciuhwrote:
> > On Jan 22, 12:48 pm, AnrDaemon <anrdae...@freemail.ru> wrote:
> >> Greetings,jerrygarciuh.
> >> In reply to Your message dated Tuesday, January 22, 2008, 18:27:59,
>
> >>> I have a couple of PHP scripts I use via cron and from the CLI. They
> >>> always produce 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
> >>> I have read all of the commandline flags docs and there does not
> >>> appear to be a flag to silence these warnings.
> >> Why not fix Your scripts instead?
>
> >> --
> >> Sincerely Yours, AnrDaemon <anrdae...@freemail.ru>
>
> > The following script exhibits this problem. How would you suggest I
> > fix it?
>
> > #!/usr/local/bin/php
> > <?php
> > // nothing to see here
> > ?>
>
> As Rik said - get the admin to fix the problem. If you're paying for
> hosting, you should expect at least a clean interface.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================

Gotcha, thank you for the replies!

JG

 

Navigation:

[Reply to this 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

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