Date: 10/20/00
- Next message: Andi Gutmans: "Re: [PHP-DEV] why the damn phpinfo() is so talkative? + answers"
- Previous message: mybugreports <email protected>: "[PHP-DEV] PHP 4.0 Bug #7364: Apache doesn't send .html or .php but does send graphics/.txt when php loaded"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: alex-spam <email protected>
Operating system: Linux
PHP version: 4.0.3pl1
PHP Bug Type: PHP options/info functions
Bug description: php_value error_reporting doesn't work for me
PHP version 4.0.3, compiled as DSO module.
I want to disable warnings, so I have:
/www/conf/httpd.conf:
--- php_value error_log "/tmp/phperr.log" php_value error_reporting 0 # disabled EVERYTHING ---'faulty' code (line 120: --- if(is_array($messages[$seed]["replies"])){ ---
In browser when I request the page, I get: --- Warning: Undefined index: replies in /home/www-html/htdocs/forum/multi-threads.inc on line 120 --- , this is a warning I guess, but they should be disabled
phpinfo() says about my configuration: --- error_log /tmp/phperr.log no value error_reporting 0 no value --- , so it seems that config is read ok
/tmp/phperr.log doesn't get created. If I write --- php_flag display_errors 0 ---
It disables all error reporting whatsoever, but it makes debugging nearly impossible. Error log isn't created in this case as well.
-- Edit Bug report at: http://bugs.php.net/?id=7365&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>
- Next message: Andi Gutmans: "Re: [PHP-DEV] why the damn phpinfo() is so talkative? + answers"
- Previous message: mybugreports <email protected>: "[PHP-DEV] PHP 4.0 Bug #7364: Apache doesn't send .html or .php but does send graphics/.txt when php loaded"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

