Re: OT Debugging PHP "Error 500" errors
On Mon, Dec 20, 2004 at 07:35:38PM -0500, William Ballard wrote:
> Helping a friend debug a PHP error on a hosted site. A certain
> operation (building a large PDF) causes an Error 500. Running same
> operation offline doesn't throw error. A larger PDF (running
> different code) succeeds.
>
> How can I debug this error? I can't find wherever the hosting
> provider hid apache's error.log.
>
> I don't think I have global write access to php.ini. I definitely
> don't have root.
>
> Can I trace the app or trace apache somehow?
I would:
1) contact your hosting company and find out where you can check your
http logs. If they say you can't, switch to http://dreamhost.com. =)
2) start commenting out lines and printing out your variables.
Jeremy
Reply to: