[wp-trac] [WordPress Trac] #33119: custom location for wp-config.php

WordPress Trac noreply at wordpress.org
Sat Jul 25 08:44:25 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 dd32):

 I don't think this is something we should support personally.

 Currently you've got two locations you can place the `wp-config.php` file:
  * ABSPATH (ie. public_html/mysite.com/)
  * One level above (ie. public_html/ )

 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'];`

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33119#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list