473,382 Members | 1,447 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Error Reporting; PHP 4, Apache 1.3, Windows XP

i recently upgraded from Windows 2000 to Windows XP and now i can't seem to
get error reporting to work in PHP. i don't know if i've simply forgotten
how to do it, or if there's a bug associated with XP, but i absolutely
cannot get PHP to display any errors in my browser. it's driving me nuts.

i was able to do it under 2000. i remember having to add a line or two of
code to the top of each page for which i wanted to display errors.

here's what i'm trying right now and it's just not working:

ini_set(display_errors, "1");
error_reporting(E_ALL);

the only output i get is a little bit of HTML with no text in the body. what
am i doing wrong?

P.S. i develop on multiple machines, so i can't just modify PHP.ini. the
code has to be portable.
Jul 17 '05 #1
1 3697
"Adam Siler" <as****@icglp.com> wrote in message news:<MG*******************@fe2.columbus.rr.com>.. .
i recently upgraded from Windows 2000 to Windows XP and now i can't seem to
get error reporting to work in PHP. i don't know if i've simply forgotten
how to do it, or if there's a bug associated with XP, but i absolutely
cannot get PHP to display any errors in my browser. it's driving me nuts.

i was able to do it under 2000. i remember having to add a line or two of
code to the top of each page for which i wanted to display errors.

here's what i'm trying right now and it's just not working:

ini_set(display_errors, "1"); ^^^^^^^^^^^^^^^^
"display_errors"---within quotes.
error_reporting(E_ALL);


---
"Silence is the only right answer for many wrong questions" --
G.K.Moopanaar, Indian Politician
Email: rrjanbiah-at-Y!com
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Wayno | last post by:
My php logs are coming up empty. I have done all I can think of, and all that made sense to me. Can someone take a look at my php.ini please and tell me what you think may be the problem. I...
4
by: webguynow | last post by:
need the straight dope on domxml for Windows ! Is it bundled or are DLL's necessary ? Also, what changes are needed in php.ini ? My setup: WXP, PHP 5.0.2 as an Apache Module, libxml v2.6.11...
0
by: Jagdeesh | last post by:
Hai Colleagues, I am using Tomcat 4.1.24 and JDK 1.4.0_03 in my winXP machine. I've transferred a set of folders(containing jsp files) into tomcat's webapps directory(to /webapps/bob ,...
9
by: Martin Plantec | last post by:
Hello, I have managed (with your help!) to make a working XSLT stylesheet; it works fine locally (Windows Apache + PHP with Sablotron 1.0), but it fails on the remote host (FreeBSD Apache + PHP...
6
by: P Jones | last post by:
Hi, I support an enterprise web application (IE client) built in VB6, with about 200 classes, serving about 7000 users, running on 3 clustered servers. I need to incorporate web reporting for...
4
by: cgparis | last post by:
Dear forum members, I am trying to compile C++ code under MS Visual Studio .NET 2003, which references the latest Xerces C++ release library (2.6.0). This Xerces release was made available...
0
by: Joshua V. | last post by:
We are trying to implement Windows Error Reporting from within our VB.Net application. Basically we want to replace the standard unhandled exception message we use with the Windows Error Reporting...
3
by: lister | last post by:
Hi, I am in the middle of writing an image upload script and am limiting the size of uploads via upload_max_filesize. This all seems to be working well, and if I try and upload a bigger file...
5
by: cglobal25 | last post by:
Here is the output from phpinfo() on my laptop running windows vista. As you can see mysql is mentioned several times in the output. I'm not sure why i get this error. Php scripts that i save in...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.