PHP Programming (Blended)
3 credits
08.20.12 - 12.16.12
PHP Programming (Blended)
Monday Wednesday
01:00 PM - 02:20 PM
How to Install the Built-in PHP Development Server on Windows
Showing Errors in Development
During development you want your PHP server to show you errors when they occur. To enable this you'll need to make a copy of the php.ini-development file that is in your php folder (where you extracted php) and call that copy php.ini
Once your php.ini file exists you'll need to edit that file.
Find the line in that file that says
display_errors = Off
and change it so that it says
display_errors = On
Next, find the line that says
error_reporting = [something]
and change it so that it says
error_reporting = E_ALL
You'll need to restart the PHP server after these changes are made before they will take affect.