Step 4: Browser Configuration in XAMPP

The next important thing after changing ownership is to confirm three things. First, that XAMPP works nicely with a web browser; second, that the proper language (yours) is selected; and third, that the MySQL databases (phpMyAdmin) are configured. To accomplish these objectives, go through the sequence of steps below.

First, go to the Linux root directory. Here is the actual command:

root@fwh2:/opt/lampp/etc# cd /
Second, restart XAMPP in the Linux terminal (/opt/lampp/lampp restart). Here is the actual command and result (make sure you do not see any errors):

root@fwh2:/# /opt/lampp/lampp restart
Stopping XAMPP for Linux 1.7.3a...

XAMPP: Stopping Apache with SSL...

XAMPP: Stopping MySQL...

XAMPP: Stopping ProFTPD...

XAMPP stopped.

Starting XAMPP for Linux 1.7.3a...

XAMPP: Starting Apache with SSL (and PHP5)...

XAMPP: Starting MySQL...

XAMPP: Starting ProFTPD...

XAMPP for Linux started.
Third, open the Firefox web browser and in the address bar enter:

http://localhost

Fourth, when the XAMPP splash page has been displayed, select your language. You should then see the following message on the system:

You successfully installed XAMPP on this system!

Fifth, in the tools at the XAMPP navigation menu, click phpMyAdmin.

You will then see an error: Existing configuration file (./config.inc.php) is not readable.

This is because the affected file of this error config.inc.php is not set to your Linux username. To fix this, in the Linux terminal, go to /opt/lampp/phpmyadmin directory. Here is the actual command:

root@fwh2:/# cd /opt/lampp/phpmyadmin
Now that you are in the phpmyadmin directory, you need to set the ownership of the file config.inc.php to your own Linux username (replace my username with yours). Here is the actual command:

root@fwh2:/opt/lampp/phpmyadmin# chown melbin:melbin config.inc.php