By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,348 Members | 1,397 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,348 IT Pros & Developers. It's quick & easy.

No error?

P: n/a
Hi, all,

I installed php on my com yesterday and everything works fine IF there is no
error in a script. However, if there is one, the server (apache2) simply
returns a blank page instead of a message regarding any errors. This makes
debugging like hell... Does anybody know why this is happening? I am using
XP Pro, Apache2 running on port 1919, IIS running on 80, but all the php
scripts are run on Apache2.

cheers

==James==
Jul 16 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
In article <tc*********************@news02.tsnz.net>, James Jiao wrote:
I installed php on my com yesterday and everything works fine IF there is no
error in a script. However, if there is one, the server (apache2) simply
returns a blank page instead of a message regarding any errors. This makes
debugging like hell... Does anybody know why this is happening? I am using
XP Pro, Apache2 running on port 1919, IIS running on 80, but all the php
scripts are run on Apache2.


Check your error_reporting setting in php.ini.

Mine looks like:
error_reporting = E_ALL & ~E_NOTICE

HTH,
Dave
Jul 16 '05 #2

P: n/a
Check your display_errors directive in php.ini. It should be on.

--
Peter James
Editor-in-Chief, php|architect Magazine
pe***@phparch.com

php|architect
The Magazine for PHP Professionals
http://www.phparch.com
"Dave Benjamin" <ra***@lackingtalent.com> wrote in message
news:slrnbju1ia.dfb.ra***@lackingtalent.com...
In article <tc*********************@news02.tsnz.net>, James Jiao wrote:
I installed php on my com yesterday and everything works fine IF there is no error in a script. However, if there is one, the server (apache2) simply
returns a blank page instead of a message regarding any errors. This makes debugging like hell... Does anybody know why this is happening? I am using XP Pro, Apache2 running on port 1919, IIS running on 80, but all the php
scripts are run on Apache2.


Check your error_reporting setting in php.ini.

Mine looks like:
error_reporting = E_ALL & ~E_NOTICE

HTH,
Dave


Jul 16 '05 #3

P: n/a
Hi

Well, I had both turned on.. but then I reinstalled php... and it's working
now... have no idea what went wrong...
But thanks for your help!!!

==James==

"Peter James" <pe***@shaman.ca> wrote in message
news:vj************@corp.supernews.com...
Check your display_errors directive in php.ini. It should be on.

--
Peter James
Editor-in-Chief, php|architect Magazine
pe***@phparch.com

php|architect
The Magazine for PHP Professionals
http://www.phparch.com
"Dave Benjamin" <ra***@lackingtalent.com> wrote in message
news:slrnbju1ia.dfb.ra***@lackingtalent.com...
In article <tc*********************@news02.tsnz.net>, James Jiao wrote:
I installed php on my com yesterday and everything works fine IF there is no error in a script. However, if there is one, the server (apache2) simply returns a blank page instead of a message regarding any errors. This makes debugging like hell... Does anybody know why this is happening? I am using XP Pro, Apache2 running on port 1919, IIS running on 80, but all the php scripts are run on Apache2.


Check your error_reporting setting in php.ini.

Mine looks like:
error_reporting = E_ALL & ~E_NOTICE

HTH,
Dave

Jul 16 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.