The introduction available on the official website (http://www.wampserver.com/en/presentation.php)
speaks for itself:
« WampServer is a Windows web development environment. It allows you to create web applications with Apache, PHP and the MySQL database. It also comes with PHPMyAdmin to easily manage your databases. »
In summary, we are going to use this platform to create a website powered by Joomla. This will allow us to work on our project website in a "local" mode and once it's finalized, we can host the website.
About this FAQ
This tip explains the installation of Joomla (step by step) under Wamp, but the advanced features of Joomla are not discussed within.
We'll go on based upon the principle that you have already downloaded and installed Wamp. Now we will download the Joomla CMS.
Joomla is available on the official website at:
For this tutorial we will use the latest stable version: Joomla 1.5.20 stable fr
The CMS will be downloaded as an archive, save it and at the end of the download process, extract the file.
Place the file in the correct directory
First of all we must transfer Joomla in the correct directory (under Wamp).
That is: C:\wamp\www
Note that: this is valid if you have used the default installation path for Wamp.
Set a password for the database
This is an essential step before creating a database and installing Joomla. For security constraints Joomla does not support unprotected (with no password
- Start Wamp if not already done so. Now make a left-click on the icon in the tray.
- In the dropdown, select « PhpMyAdmin ».
- In the new interface (PhpMyAdmin) that opens select "Privileges".
- We will now select a password. To do this, click on the symbol of the pencil line on the localhost server:
- You are now in the configuration interface.
- Locate the framework to modify the password
- Select "Password" and then in the text box, enter your password, retype it in the second text box and then click Run.
- A confirmation message will appear prompting you that the password been changed.
- Close the PhpMyAdmin interface.
- If you tried to return to this page, an error message will appear informing you that the page requires a password.
- We will now edit the configuration file of PHP MySQL.
- Go to the following directory:
- Now, open the config.inc file located in this directory. You must make a right-click/ open with/ and select a text editor.
- By default, the file code is as follows:
/* Servers configuration */
$i = 0;
/* Server: localhost  */
$cfg['Servers'][$i]['verbose'] = 'localhost';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
/* End of servers configuration */
$cfg['DefaultLang'] = 'en-utf-8';
$cfg['ServerDefault'] = 1;
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
You must change the line ($cfg['Servers'][$i]['password'] = '';)
and enter your new password between the quotes.
Exemple : $cfg['Servers'][$i]['password'] = 'kioskea';
- Now that the database is password protected, we can move to the core creation.
Create a database
- Everything has been configured to create a database.
- This step is a very simple and relatively quick. Make a left-click on the Wamp icon located on the system tray and click on « PhpMyAdmin ».. Please log in if needed (Note: If PhpMyAdmin request a user name, enter "root").
- In the tab bar, choose "Databases" and enter a name in the "Create Database" text box and click on "Create" button without changing the other settings. A message appears confirming the creation of the database.
The hardest part remains to actually install Joomla. On the icon located in the tray, made a left-click and select "Localhost".
- Once in the Wamp interface, under "Your Projects" you should see the name of your folder containing Joomla ("www" directory), click on directory name.
Once clicked, the installation of the CMS begins. The installation is done in 7 steps.
Step 1 - The choice of language
The choice of language is required, simply select the list you choose and click on "Next".
Step 2 - Pre-installation
This step verifies the pre-installed data of your CMS, it is strongly recommended that all the values is set to "yes" if this is not the case you need to upgrade the necessary items, for example, version of PHP.
- Values displayed in red must be corrected (to avois any future errors with Joomla)
Step 3 - License
You must read the License (GNU, which is a free license) and accept by clicking the "next" button.
Step 4 - The Database
A very important step: The database.
- You must enter the relevant details in the text boxes.
- Type of database: Leave the default "mysql" one
- Name Server: As we are working locally, the server name is localhost
- Username: By default the username is root
- Password: The password we configured at the beginnig
- Name of the database: The name you used when creating the database in the example the name of the database is joomla.
Step 5 - FTP Configuration
We will not be using it locally leave the default options:"no" and click "next".
Step 6 - The main configuration
- We will configure basic options.
- Enter the name of your site in the text box provided for that purpose.
- Enter your email address, useless locally (do it as a test).
- The password must be entered twice. This password is used to connect to the administration console.
- Press the "Install sample data" button if you want a glimpse of a Joomla site (completed with a predefined template). This button is optional and only needed if you want a glimpse of the features of Joomla.
- Finally, the migration options that we will not discuss the details in this tip.
- The minimum configuration for your website is now operational. Note that you can change its values later via the admin console.
- Now to press the "next" button.
- A message will appear if you do not choose to load the given example, simply ignore this step by clicking on the "Ok" button.
7th stage - Finalization
Joomla is finally installed, before you click on the "Admin" button and to access Admin console, you must delete the "installation" folder:
Thanks to leparradiss for this tip!!
- Once the file is deleted, return to your installation page and click on "Admin".
- You are now on the login page to your administration console.
- The username is "Admin"
- The password is the one you selected during installation.
- Press the connect button.
- You can go to your administration console is to manage your site and visit it.