WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#4659 closed enhancement (invalid)

Install Procedure Simplification

Reported by: Denis-de-Bernardy Owned by:
Milestone: Priority: low
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

It would be nice to replace the wp-config.php file with wp-content/wp-config.php.

That way, users could install WP by merely uploading the files and making the wp-content folder writable by the server. We'd have a screen prompt the user to enter the db details, and create the file on the fly via the wp-config-sample.php.

Old installs could be "upgraded" reasonably simply:

if ( !include (whatever) . '/wp-content/wp-config.php' )
{
  // check for wp-config.php in root folder and autocreate new config file

  // else launch wp-config file generator
}

Change History (3)

comment:1 pishmishy7 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Your bug report is not well framed. By far the larger obstacle to having a HTML form based configuration is the lack of a HTML form based configuration script, not a file permissions problem (that sounds as if it's local to your installation since both wp-config.php and wp-content/ are writable straight from the tarball with me).

Can I suggest opening a new ticket, if one doesn't already exist, asking for form based configuration?

comment:2 nbachiyski7 years ago

Actually now if you try to install WordPress with missing wp-config.php you can create it via a web form, see the beginning of wp-admin/install.php and wp-admin/setup-config.php.

comment:3 Nazgul7 years ago

  • Milestone 2.4 (future) deleted
Note: See TracTickets for help on using tickets.