473,386 Members | 1,796 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,386 software developers and data experts.

Turn on PHP Error Messages ?

How do you turn on PHP error messages in PHP, So I can see what is
happening when a php page fails ?

Windows & Linux ??
Jul 16 '05 #1
3 21196
In article <3f****************@news.btclick.com>, Frank @ MyPlace.Com (Frank) wrote:
How do you turn on PHP error messages in PHP, So I can see what is
happening when a php page fails ?

Windows & Linux ??


php.ini (in /etc/ somewhere). Set error_reporting and display_errors
as you see fit. I prefer log_errors = Off.
Jul 16 '05 #2
Hi!

either you can change php's error handling in the php.ini, or you just add
the following line at the beginning of a script (useful if you only want to
check one page):

ERROR_REPORTING(E_ALL);
Erik

<Frank @ MyPlace.Com (Frank)> schrieb im Newsbeitrag
news:3f****************@news.btclick.com...
How do you turn on PHP error messages in PHP, So I can see what is
happening when a php page fails ?

Windows & Linux ??

Jul 16 '05 #3
Frank @ MyPlace.Com (Frank) wrote:
How do you turn on PHP error messages in PHP, So I can see what is
happening when a php page fails ?


This page includes the relevant php.ini settings:
http://uk.php.net/manual/en/ref.errorfunc.php

HTH;
JOn
Jul 16 '05 #4

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

Similar topics

2
by: Stuart Palmer | last post by:
I have a little gripe with my ASP pages, for some reason I am not getting error messages I would expect and don't know if it's an ASP thing, browser thing or IIS problem. I use option explicit...
5
by: Steve | last post by:
Hi; I went to the microsoft site to try to find a guide to the error messages that the jdbc drivers give ( for sqlserver 2000 ). I had no luck. Does anyone know if there is such a guide? ...
4
by: Simon Wigzell | last post by:
I'm running asp on MS Server 2000. Running Internet Explorer I used to get a proper message with page and line number when there was a bug in my asp code. Suddenly I'm not getting these any more, I...
11
by: Markus Dehmann | last post by:
I have started with C++ a few months ago. The language itself is nice, but what I really don't like are the error messages that I get from g++. g++ error messages are often just not helpful. ...
1
by: bjbounce2002 | last post by:
Hello, I am using forms with command buttons to close form or run action queries. The error messages such as "Null value in required field" or "duplicate value in primary key" are suppressed....
102
by: Skybuck Flying | last post by:
Sometime ago on the comp.lang.c, I saw a teacher's post asking why C compilers produce so many error messages as soon as a closing bracket is missing. The response was simply because the compiler...
2
by: ZeeHseez | last post by:
Hi, I have written a webbrowser application in VB .net Framework 1.1. I would like to suppress javascript error messages. However, the silent property of the webbrowser control suppresses the...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
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: 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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.