[wp-trac] [WordPress Trac] #28551: Add Better Debugging Documentation Into wp-config.php
WordPress Trac
noreply at wordpress.org
Sat Sep 6 00:45:48 UTC 2014
#28551: Add Better Debugging Documentation Into wp-config.php
-------------------------------+-----------------------------
Reporter: philiparthurmoore | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Bootstrap/Load | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: docs
-------------------------------+-----------------------------
Comment (by grantpalin):
Much has been said already about the generous documentation within the PHP
configuration file. I haven't seen this mentioned yet, so I'll point out
that PHP is shipped with two configuration files:
php.ini-development
php.ini-production
With default settings customized for the respective use scenarios. Why not
do something similar for WordPress' configuration, e.g.
wp-config.php-development
wp-config.php-production
We could then have the appropriate default configuration in each, and
instruct the user, as PHP does, to rename the appropriate file to wp-
config.php. New deployments can just copy the production-configured file,
while developers on their local setups can use the development version.
Can still have in-file documentation for the settings.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28551#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list