Main Content RSS FeedRecent Articles

XAMPP Installation Instructions »

XAMPP – Installation Instructions

Hopefully, this tutorial is simple/concise for beginners to follow easily.

1. Download XAMPP and install it

You do not need to install Filezilla Server, only Apache and MySql.

 

2. After you have installed XAMPP, verify if you have both Apache and MySql servers running

Double click on XAMPP icon (XAMPP Control Panel – shortcut on your desktop or xampp-control.exe from your installed
XAMPP hard drive location).

You have to have both services running and SVC radio buttons of Apache and MySql checked.

Otherwise check SVC boxes and start Apache and MySql services.

Remember: You are NOT required to do this every time you start your computer:Apache PHP application and MySql database will start automatically.

3. Open PhpMyadmin in your web browser: “http://127.0.0.1/phpmyadmin/”

As you can see there is no login process for accessing PhpMyadmin. This is not the best approach for serious applications or CMS.

You definitely need a password for accessing your databases.

In PhpMyadmin:

go to Privileges where you delete all users except 127.0.0.1 and localhost.

Edit – Check all privileges and set a password for these two users.

4. After you have saved your changes, go to PhpMyadmin folder from the XAMPP installation directory.

Find the config.inc.php file and edit it as follows:

* Authentication type and info */
$cfg[‘Servers’][$i][‘auth_type’] = ‘http’;
$cfg[‘Servers’][$i][‘user’] = ‘root’;
$cfg[‘Servers’][$i][‘password’] = ‘your password’;
$cfg[‘Servers’][$i][‘AllowNoPasswordRoot’] = false;

/* User for advanced features */
//$cfg[‘Servers’][$i][‘controluser’] = ‘pma’;
//$cfg[‘Servers’][$i][‘controlpass’] = ”;

Save this file and copy PhpMyadmin folder in Htdocs folder.

Now you have a duplicate information about PhpMyadmin in XAMPP main directory and  Htdocs
– where your localhost server runs programming scripts.

Run  http://127.0.0.1/phpmyadmin.

If you are presented with a login window,  with user name and password, everything worked as shown in this explanation.

Now enter your username and password (ie the same values that you saved in your phpmyadmin/privileges form –

step 3) If you have followed these XAMPP installation instructions, your XAMPP installation is now ready to work with.