如何访问 XAMPP 7.0.9 安全页面? [英] How can I access the XAMPP 7.0.9 Security page?

查看:20
本文介绍了如何访问 XAMPP 7.0.9 安全页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很难访问 xampp 7.0.9 的安全页面.

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

当我尝试访问 http://localhost/security 时,我得到一个找不到对象的错误.如果我尝试访问 http://localhost/security/xamppsecurity.php 我得到一个对象未​​找到错误也是.

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.

推荐答案

是的,XAMPP 似乎删除了安全页面.他们的论点是您不需要本地环境的设置.

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

对于像我这样的人来说,唯一的问题是我的 XAMPP 服务器中有多个测试站点,并且在所有这些测试站点中,我都为我的 mysql root 设置了密码.因此,我需要设置一个 mysql root 密码(因为我无法将所有测试站点都更新为无密码).我是在 XAMPP 控制面板中使用 shell 完成的

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"

我遇到一个新问题,PhpMyAdmin 将不再工作,当您访问 http://localhost/phpmyadmin/时登录页面消失了

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

为此,我打开了 xamppphpMyAdmin 中的 config.inc.php 文件,并在那里设置了适当的密码.

For this I opened up config.inc.php file present inside xamppphpMyAdmin 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'] = '';

这篇关于如何访问 XAMPP 7.0.9 安全页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆