error_reporting (Turn off Display Errors)

Problems with the Windows version of XAMPP, questions, comments, and anything related.

error_reporting (Turn off Display Errors)

Postby OxiDia » 22. May 2008 12:30

I'm new too XAMPP and PHP, been trying to find info on how to turn off Display Errors to install Joomla with Recommended Settings (Display Errors off).

I have found the \xampp\apache\bin\php.ini and been looking here at the forum, php.net, and XAMPP for Windows FAQ to change:
<?php
error_reporting(0);
?>

But I don't understand how and where to turn off.

I need to know which file too change, where and what to change to Turn off Display Errors.
And please don’t send me the code too use somewhere without a short explaining.
Ex find this file, look up this row, and change it to…

Thanks for any help on beforehand, I’m trying to learn but I takes some time, and have made many test, and for that rezone I had to make many reinstall off XAMPP. But I still find XAMPP a very good program!
OxiDia
 
Posts: 2
Joined: 22. May 2008 12:00
Location: Sweden

Postby OxiDia » 22. May 2008 13:25

Problem solved by my self...

Find the file
C:\xampp\apache\bin\php.ini

; Print out errors (as a part of the output). For production web sites,
; you're strongly encouraged to turn this feature off, and use error logging
; instead (see below). Keeping display_errors enabled on a production web site
; may reveal security information to end users, such as file paths on your Web
; server, your database schema or other information.
display_errors = on

Find the line
Code: Select all
display_errors = on


change to
Code: Select all
display_errors = off
OxiDia
 
Posts: 2
Joined: 22. May 2008 12:00
Location: Sweden


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 80 guests