Page 1 of 1

Lost error reporting after server upgrade

Posted: Wed Aug 14, 2013 12:10 pm
by rhecker
On my development server (not the live server) I want to see mySQL errors on the page and this is what I had before I upgraded to ZEND server 6.1.0. (which also upgraded MySQL to 5.5) But now they are not showing.

My DB connection script includes the following:
$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);

I don't want to go to the log to see the errors. I want to see them on the page as I used to. Suggestions?

Re: Lost error reporting after server upgrade

Posted: Wed Aug 14, 2013 12:43 pm
by requinix
Check the display_errors setting in your php.ini.

Re: Lost error reporting after server upgrade

Posted: Wed Aug 14, 2013 8:25 pm
by rhecker
Good now. Thanks.