Posted by jerrygarciuh on 01/22/08 15:27
Hello,
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.
I currently call the scripts like so:
/usr/local/bin/php -f /www/subsites/foo/htdocs/bar/baz.php >> /dev/
null
or
/usr/local/bin/php -q /www/subsites/foo/htdocs/bar/baz.php >> /dev/
null
Any advice?
TIA!!
JG
[Back to original message]
|