- Downloading the latest version.
- Extracting the downloaded zip file.
- Creating a new database.
- Creating wp-config.php file.
Developing WordPress sites has never been easier with WAMP and Simple WordPress Auto Installer. The Auto Installer script is now available that allows you to add a WordPress install within the WampServer together with a database, all in one shot, thereby speeding up your local WordPress development.
To make this happen, you will need to download WampServer and the Simple WordPress Auto Installer, both of which are open source and available as free downloads. You will need to install the WampServer first and ensure that it is working. This is usually straight-forward and quick.
Upon downloading the Simple WordPress Auto Installer, you will notice 3 files: installer.php, license and readme.md. To install, simply drop a copy of the “installer.php” file into the root directory of WampServer designated as “www”.
When you open the “installer.php” file, you will see these lines of code:
array( 'label' => 'Latest version', 'url' => 'http://wordpress.org/latest.zip', 'description' => 'Download the latest stable English version' ), array( 'label' => 'Last nightly', 'url' => 'http://wordpress.org/nightly-builds/wordpress-latest.zip', 'description' => 'Download the latest beta version'
You can configure these settings to change the WordPress version as well as the build to your own preferences.
You can also add more languages by including an array like the one below:
array( 'label' => 'French', 'url' => 'http://fr.wordpress.org/wordpress-'.$last_v_doted.'-fr_FR.zip', 'description' => 'Download the latest stable French version' ),
Other global settings you can configure include the default username, database, password and CSS parameters.
Fire up your WampServer and navigate to the installer file we just uploaded using the link below:
The Auto Installer will then allow you to configure your local site settings that include; the folder where you want WordPress to go, the database server (which by default should be localhost), the DB name, DB username and DB user password. From here click `GO` and
the script will then download the latest copy of WordPress, extract the files to the directory you named and will create a new database.
Set your site’s name, username and password and you are ready to roll.
Whenever you need to start a new development project, you will simply fire up the installer using the above link and configure the settings for the new site as we have done. You will no longer need to download WordPress again, set up a database in phpMyAdmin or make any other configuration settings. Everything has been done for you.