Re: Error Reporting/Display Errors Issues?
| From: | xianhua zhou | Date: | Tue, 10 May 2011 09:26:24 +0000 |
| Subject: | Re: Error Reporting/Display Errors Issues? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312739@lists.php.net to get a copy of this message | ||
You may need to check the running php code, those values can be
changed during runtime.
2011/5/10 Mike Mackintosh <mike.mackintosh@angrystatic.com>:
> Anyone else notice PHP throwing Warning and Notices even when display errors and error
> reporting disabled?
>
> I compiled PHP with the following:
>
> './configure' '--prefix=/usr/local/php-5.3.3' '--enable-cli'
> '--disable-debug' '--disable-rpath' '--disable-static'
> '--with-pic' '--with-openssl=/usr' '--enab
> le-bcmath' '--with-bz2' '--enable-calendar' '--enable-ctype'
> '--with-curl' '--with-zlib-dir=/usr' '--with-xsl'
> '--enable-exif' '--enable-ftp' '--with-gd'
> '--enable-gd-native-ttf' '-
> -with-ttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr'
> '--with-freetype-dir=/usr' '--with-gettext' '--with-iconv'
> '--with-imap' '--with-kerberos=/usr' '--with-imap-ssl=/usr'
> '--ena
> ble-mbstring' '--with-mcrypt' '--with-mhash'
> '--with-mime-magic' '--with-mysql=/usr/local/mysql-5.1.49'
> '--with-pcre-regex=/usr' '--with-pspell=/usr' '--enable-sockets'
> '--enable-wd
> dx' '--with-xmlrpc' '--with-zlib=/usr' '--with-pear'
> '--with-layout=GNU' '--with-ldap' '--enable-pdo'
> '--enable-soap' '--with-apxs2=/usr/local/apache-2.2.16/bin/apxs'
> '--enable-pcnt
> l' '--enable-mailparse' '--enable-zip' '--with-zip=/usr'
> '--with-bz2=/usr' '--with-config-file-path=/etc'
> '--with-config-file-scan-dir=/usr/local/php-5.3.3/etc' '--with-pdo-mysql=/u
> sr/local/mysql-5.1.49' '--with-openssl=/usr'
>
> I have also set the following:
>
> display_errors => Off => Off
> display_startup_errors => Off => Off
> error_append_string => no value => no value
> error_log => no value => no value
> error_prepend_string => no value => no value
> error_reporting => 0 => 0
>
> But i continue to receive Strict/Notice and Warnings in code that i wish to be hidden.
>
> Any suggestions?
>
> Thanks,
>
> Mike
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>