Wordpress Installation Script Fails (Can't find/create wp-config.php) [SOLVED]

2 posts / 0 new
Last post
#1 Sat, 04/21/2018 - 13:13
adam9001

Wordpress Installation Script Fails (Can't find/create wp-config.php) [SOLVED]

Hi,

I'm trying to streamline installing Wordpress and saw that there is a Wordpress installation script in Virtualmin.

I create a fresh virtual server, click "Install Scripts", and select Wordpress.

I select "top level" installation directory, and use default credentials.

This is the output I get:

Configuring webserver PHP settings ..
.. done.
Applying web server configuration ..
.. done

Now installing WordPress version 4.9.5 ..
wp config create failed : Error: 'wp-config.php' not found. Either create one manually or use `wp core config`.
More information on using this script can be found at http://wordpress.org/.

.. installation was only partially complete.
Re-loading Webmin ..
.. done

Applying web server configuration ..
.. done

I realize I could manually copy/create this file, but that seems to defeat the purpose of using the script.

Any thoughts as to why this might be failing?

Sat, 04/21/2018 - 13:55
adam9001

Update: Turns out I had an older version of WP-CLI installed. Updating WP-CLI to the newest version resolved the issue.

Topic locked