fixingPHP.ini - DIG 4530c - Fixing php.ini for WAMP and...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
DIG 4530c - Fixing php.ini for WAMP and MAMP Moshell - updated 1 February 2011 The PHP interpreter system is capable of producing a variety of error messages. However it is generally not a good idea to leave these error messages turned on, when you deploy code for the public to use. Clever attackers can use the error messages to find security holes in your system. The file that controls error messages (and many other things) is called php.ini. In about 75% of the WAMP installations I've seen, the file is set correctly to display error messages and so needs no fixing. Just try a piece of PHP code with a syntax error, and see if you get an error message. However, 100% of the free MAMP installations have php.ini turned off. If you buy the $30 'Pro' version, it's turned on for you. But I'll do it for only $20.00. Or maybe even less. . Fixing php.ini. In a Windows system, this file is located in this directory: c:/wamp/bin/php/php5.2.6/php.ini (or some other version than 5.2.6) and you can edit it with notepad or wordpad. In the Mac, the file may be located at
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 08/25/2011 for the course DIG 3134 taught by Professor Moshell during the Fall '11 term at University of Central Florida.

Page1 / 2

fixingPHP.ini - DIG 4530c - Fixing php.ini for WAMP and...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online