Results 1 to 3 of 3
Hi,
I've set up PHP and MySQL, and everything is working well now--except that there is one problem. When I make an error in my PHP source, I don't get ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-04-2005 #1Just Joined!
- Join Date
- Jul 2004
- Posts
- 94
Quick Question about PHP Configuration
Hi,
I've set up PHP and MySQL, and everything is working well now--except that there is one problem. When I make an error in my PHP source, I don't get any error message in my browser. When I was using the PHP server of my former web host, I got error messages in my browser whenever there was a syntax error in my PHP script. But now, an error simply causes the browser to display a blank page. There is no helpful error message.
Is there an easy way to adjust the PHP settings so that I get those error messages?
Thanks for your help.
- 09-04-2005 #2Linux Guru
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 3,284
open up your php.ini file, and make sure that:
1) "error_reporting" = E_ALL
2) "display_errors" = On
If PHP is running as an apache module restart Apache for the changes to take effect.
- 09-05-2005 #3Just Joined!
- Join Date
- Jul 2004
- Posts
- 94
Thanks Jason. That works beautifully.


Reply With Quote
