News Feed

News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHP 10.0 Blog:
Production mode
December 18, 2006 @ 08:43:00

In an effort to get some thought going about ways to encourage security in PHP applications, Stas has posted an idea about a simplified php.ini setting - production=On.

His idea is that, with this setting on, the PHP installation would:

  • disable display errors
  • disable phpinfo()
  • turn expose_php off
  • make max_execution_time/memory_limit reasonable
  • and possibly a few others that some developers forget to set correctly
Comments on the post range from disagreement to suggestions on improvement and support.

0 comments voice your opinion now!
production mode phpini setting phpinfo exposephp displayerrors production mode phpini setting phpinfo exposephp displayerrors

blog comments powered by Disqus

Similar Posts

Till's Blog: Zend Framework performance

SitePoint PHP Blog: Configuring Your Store’s Settings with the eBay Trading API

Ilia Alshanetsky's Blog: Mail Logging for PHP 5.3+

SitePoint PHP Blog: How to Override PHP Configuration Options

Brian Swan's Blog: Updating PHP Settings in Windows Azure

Community Events

Don't see your event here?
Let us know!

example extension opinion introduction version podcast api voicesoftheelephpant laravel5 release library laravel security community interview framework php7 series language list

All content copyright, 2015 :: - Powered by the Solar PHP Framework