[wp-trac] [WordPress Trac] #33119: custom location for wp-config.php
WordPress Trac
noreply at wordpress.org
Sat Jul 25 11:39:52 UTC 2015
#33119: custom location for wp-config.php
----------------------------+------------------------------
Reporter: igor.bukanov | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+------------------------------
Comment (by igor.bukanov):
Replying to [comment:2 dd32]:
> The `wp-config.php` file that exists there, simply needs to exist, it
doesn't need to actually contain the directives - you could simply have
the contents as `<?php require $_SERVER['WP_CONFIG'];`
This is what I have currently in my setup. The issue is that it
complicates the update process. I cannot just have a pristine git tree
cloned from github with official wordpress distribution. I have to have a
custom branch containing wp-config.php on top of it. Similarly, I cannot
just extract distribution tar into a directory and then atomically swap it
with the current install. I have to copy wp-config.php there first.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33119#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list