RE: debugging php?

  • From: "Homme, James" <james.homme@xxxxxxxxxxxx>
  • To: "programmingblind@xxxxxxxxxxxxx" <programmingblind@xxxxxxxxxxxxx>
  • Date: Wed, 16 Mar 2011 07:07:11 -0400

Hi Alex,
You will get a lot of information if you go to your browser and in the address 
bar, type When you get to that page, pay 
attention to display_errors, error_reporting, and the predefined constants for 
controlling how errors are displayed

You can also get all the information about your environment if you write a PHP 
script and as the only statement, put this.


-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Alex Hall
Sent: Tuesday, March 15, 2011 10:31 PM
To: programmingblind
Subject: debugging php?

Hi all,
I am doing php for a databases class. When I run it, I get an http 500
error, but no errors from my actual code. I tried a simple "echo test"
to make sure php is working and it ran fine, so it has to be something
in my code. I thought php would print any errors to the webpage when
it was displayed (show_errors is on)? Why am I getting this generic
error page instead? More to the point, is there a simple way to debug
without using an ide?

Have a great day,
Alex (msg sent from GMail website)
View the list's information and change your settings at

This e-mail and any attachments to it are confidential and are intended solely 
for use of the individual or entity to whom they are addressed.  If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it.  If you are not the intended recipient, you must not keep, use, 
disclose, copy or distribute this e-mail without the author's prior permission. 
 The views expressed in this e-mail message do not necessarily represent the 
views of Highmark Inc., its subsidiaries, or affiliates.
View the list's information and change your settings at

Other related posts: