Warning: Constant ABSPATH already defined, this will be an error in PHP 9 in /home/killerph/public_html/wp-config.php on line 19

Warning: Cannot modify header information - headers already sent by (output started at /home/killerph/public_html/wp-config.php:19) in /home/killerph/public_html/wp-includes/feed-rss2-comments.php on line 8
Comments on: Turning on display_errors in WAMP – Video Tutorial https://www.killerphp.com/articles/php-display_errors-in-wamp/ Thu, 09 Dec 2021 20:55:14 +0000 hourly 1 https://wordpress.org/?v=6.4.13 By: Stefan Mischook https://www.killerphp.com/articles/php-display_errors-in-wamp/#comment-335 Fri, 31 Aug 2007 22:28:02 +0000 http://www.killerphp.com/articles/php-display_errors-in-wamp/#comment-335 “I think it’s important to mention that display_errors should only be set to ‘on’ under development servers and should always be ‘off’ under production.”

Agreed.

]]>
By: Michael Girouard https://www.killerphp.com/articles/php-display_errors-in-wamp/#comment-334 Fri, 31 Aug 2007 22:18:51 +0000 http://www.killerphp.com/articles/php-display_errors-in-wamp/#comment-334 I guess you set wordpress to not render anything within brackets… The content for the file is as follows:

ini_set(‘display_errors’, ‘on’);
error_reporting(E_ALL);

]]>
By: Michael Girouard https://www.killerphp.com/articles/php-display_errors-in-wamp/#comment-333 Fri, 31 Aug 2007 22:17:27 +0000 http://www.killerphp.com/articles/php-display_errors-in-wamp/#comment-333 Good cast.

I think it’s important to mention that display_errors should only be set to ‘on’ under development servers and should always be ‘off’ under production.

Also, display_errors will not show parse errors by default. If you want PHP to render parse errors on your development server, you’ll need to set the error_reporting directive to an appropriate level.

I personally find it easier to leave them both set to the default, secure setting as they are shipped with PHP. When in development, I include a ‘development.php’ file which has the following content.

Cheers,
Mike G.

]]>
By: developercast.com » Stefan Mischook’s Blog: Turning on display_errors in WAMP - Video Tutorial https://www.killerphp.com/articles/php-display_errors-in-wamp/#comment-332 Fri, 31 Aug 2007 14:16:20 +0000 http://www.killerphp.com/articles/php-display_errors-in-wamp/#comment-332 […] Stefan Mischook has posted another video tutorial to help developers get started in their PHP travels. This time it covers how to turn on errors when using the popular WAMP installation package. Within a WAMP installation, I ran into a little issue today when trying to change php.ini’s ‘display_errors’ property. By default WAMP installs with ‘display_errors’ to ‘Off’ – This is a pain-in-the-ass setting when trying to write new PHP code because errors don’t get displayed in the browser window […]

]]>
By: PHPDeveloper.org https://www.killerphp.com/articles/php-display_errors-in-wamp/#comment-331 Fri, 31 Aug 2007 02:10:25 +0000 http://www.killerphp.com/articles/php-display_errors-in-wamp/#comment-331 Stefan Mischook’s Blog: Turning on display_errors in WAMP – Video Tutorial…

…

]]>