Unfortunately setting that within the PHP file directly still results in errors and notices being displayed. I'm at a loss. Sent from my iPhone On May 10, 2011, at 5:40, <admin@xxxxxxxxxxxxxxxxxxx> wrote: > Try this for me in a page you wish to not display errors. > <?php > > error_reporting(0); > ini_set('display_errors', 0); > > ?> > > > What you are doing with this function is over riding the php.ini file and > turning off the errors on that page. > Place the code at the beginning of php before any includes. > > If this works errors are turned on or your disabling function is malformed. > > > > Richard L. Buskirk > > > > -----Original Message----- > From: Mike Mackintosh [mailto:mike.mackintosh@xxxxxxxxxxxxxxx] > Sent: Monday, May 09, 2011 10:34 PM > To: php-general@xxxxxxxxxxxxx > Subject: Error Reporting/Display Errors Issues? > > 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 > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php