logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



php error messages from apache

 
Post new topic   Reply to topic    Apache Forum Index -> Other Software



View previous topic :: View next topic  
Author Message
oldcoot



Joined: 20 Feb 2006
Posts: 8

PostPosted: Thu 18 May '06 18:17    Post subject: php error messages from apache Reply with quote

I found that my hosting service using apache and PHP can display error messages showing the line of php code that cause a problem.

But my workstation setup as a localhost using apache and PHP to design web content show a blank page when I bring up a buggy PHP page.

Is there a configuration or setup that displays error messages for buggy PHP pages that I can use on my workstation to debug?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6255
Location: Germany, Next to Hamburg

PostPosted: Thu 18 May '06 20:09    Post subject: Reply with quote

Edit your php.ini
error_reporting = E_ALL & ~E_NOTICE
That must show all errors for debugging. If not, your scripts block that.
Than you can set it in your scripts with error_reporting(E_ALL);

Good luck!
Back to top
oldcoot



Joined: 20 Feb 2006
Posts: 8

PostPosted: Thu 18 May '06 20:38    Post subject: Reply with quote

Thanks

things work now
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Other Software
Page 1 of 1