Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I access the XAMPP 7.0.9 Security page?

I have a hard time accessing the security page of xampp 7.0.9.

When I try to access http://localhost/security I get an object not found error. If I try to access http://localhost/security/xamppsecurity.php I get an object not found error as well.

I tried to find an answer on the official webpage as well as the offical forums but didnt find anything that could be of help.

like image 753
DieNuss Avatar asked Sep 20 '16 09:09

DieNuss


People also ask

How can I make my XAMPP installation more secure?

Indeed the default settings on XAMPP provide no security at all. However, to fix these insecurities you enlisted go to http://localhost/security/xamppsecurity.php immediately after installation on your localhost network where XAMPP has been installed.

How do I open XAMPP browser?

Once you have started Apache and MySQL open a web browser and visit http://localhost you should see the XAMPP Splash Screen where you can select a language and the next page is a web based control panel for XAMPP. You now have a web server running on your computer. There are a few things you should do now.

What is XAMPP and how it works?

XAMPP helps a local host or server to test its website and clients via computers and laptops before releasing it to the main server. It is a platform that furnishes a suitable environment to test and verify the working of projects based on Apache, Perl, MySQL database, and PHP through the system of the host itself.

What is XAMPP platform?

XAMPP (/ˈzæmp/ or /ˈɛks. æmp/) is a free and open-source cross-platform web server solution stack package developed by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB database, and interpreters for scripts written in the PHP and Perl programming languages.


1 Answers

Yes it seems like XAMPP has removed the security page. Their argument is that you'll not need the setting for a local environment.

The only problem for someone like me is that I have multiple test sites in my XAMPP server and in all of those test site I've set my mysql root a password. So, I need a mysql root password to be set (since I can't update all my test sites to no-password). I did it using the shell in XAMPP Control Panel

mysqladmin --user=root password "newpassword"

I encounter a new problem, PhpMyAdmin will not work anymore and the login page disappeared when you access http://localhost/phpmyadmin/

For this I opened up config.inc.php file present inside \xampp\phpMyAdmin\ and set the appropriate password there.

/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'password';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';
like image 118
fdiengdoh Avatar answered Nov 07 '22 03:11

fdiengdoh