当我尝试访问 Phpmyadmin 时,我的 XAMPP Apache 端口会自动更改
注意,我已将端口更改为 8080,因为我无法访问默认端口 80。当我尝试访问 localhost:8080/phpmyadmin/
时,Apache ports 自动更改为
我认为 XAMPP 将我重定向到正确的端口,因此我尝试访问 localhost:50007/phpmyadmin/
,但仍然无法正常工作任何一个。重新安装 XAMPP 应用程序是解决此问题的唯一方法吗?
So, at the first, my XAMPP is working no problem like this
Note that I have change the port to 8080 because I can't access the default port 80. And when I tried to access localhost:8080/phpmyadmin/
the Apache ports changes automatically into this
I thought that XAMPP redirect me to the right port, so i tried to access localhost:50007/phpmyadmin/
, and i still didn't work either. Does reinstalling XAMPP app is the only solution to this problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
试试这个,这个方法对我有效
然后将data_old文件夹中的ibdata1文件复制并替换到data文件夹中
Try this, this method works on me
Then copy and replace the ibdata1 file in the data_old folder into the data folder
我遇到了
XAMPP的端口
自动更改的情况,经过调查,我发现根本原因与我的项目代码最近的更改有关。事实证明,我最近所做的修改中存在编码错误。为了解决这个问题,我系统地注释掉了最近的代码更改,并观察到端口更改问题已解决。
看来代码更改无意中导致了端口的自动调整。通过识别并解决编码问题,意外的端口更改已成功缓解。
我希望这段经验可以帮助其他面临类似挑战的人,以确保其本地开发环境的稳定性。
I encountered a situation where
XAMPP's port
was changing automatically, and after investigating, I found that the root cause was related to recent changes in my project's code.It turned out that there was a coding bug in the recent modifications that I made. To troubleshoot the issue, I systematically commented out the recent code changes and observed that the port-changing problem was resolved.
It appears that the code changes were inadvertently causing the automatic adjustment of the port. By identifying and addressing the coding issue, the unexpected port changes were successfully mitigated.
I hope this experience helps others facing similar challenges in ensuring the stability of their local development environments.
重新安装 XAMPP 将不起作用。它说某个进程正在端口 8080 上运行。因此您可以结束该进程或更改 apache XAMPP 的端口
我将为您提供第一个解决方案
的进程列表
,因此
netstat -ano
将给出带有 PID < a href="https://i.sstatic.net/ckukM.png" rel="nofollow noreferrer">现在找到端口 8080 并终止该进程
现在记下 PID 并使用您的
运行以下命令reinstalling XAMPP will not work. it's saying that some process is running on port 8080. so you can end that process or change port of apache XAMPP
I will give you the first solution
so
netstat -ano
will give a list of processes with PIDnow find port 8080 and kill the process
now note that PID and run the below command with your
<PID>
我昨天遇到了同样的问题,看来您需要增加
memory_limit
、upload_max_filesize
和post_max_size
中的值>C:\xampp\php\php.ini(或安装 XAMPP 的任何位置)。请参阅https://stackoverflow.com/a/78530868/5139414
I ran into the same issue just yesterday, it seems that you'll need to increase the value of
memory_limit
,upload_max_filesize
andpost_max_size
inC:\xampp\php\php.ini
(or wherever you installed XAMPP).See https://stackoverflow.com/a/78530868/5139414