无法在 IIS 上打开 phpMyAdmin

问题描述 投票:0回答:1

我在 Windows 10 上使用 IIS 来设置我的网站进行测试。我的 PHP 和 MySQL 都可以工作。但是,当尝试访问 phpMyAdmin 登录时,我收到此错误:

Warning: require_once(C:\inetpub\wwwroot\phpMyAdmin\libraries/constants.php): Failed to open stream: No such file or directory in C:\inetpub\wwwroot\phpMyAdmin\index.php on line 22

Fatal error: Uncaught Error: Failed opening required 'C:\inetpub\wwwroot\phpMyAdmin\libraries/constants.php' (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\phpMyAdmin\index.php:22 Stack trace: #0 {main} thrown in C:\inetpub\wwwroot\phpMyAdmin\index.php on line 22

我之前在 Linux 上进行过设置,没有任何问题。我是否遗漏了配置文件中的某些内容?

将 phpMyAdmin config.sample.inc.php 文件编辑为推荐设置,错误仍然显示

php iis phpmyadmin
1个回答
0
投票

通过卸载并用巧克力重新安装来修复它。我现在可以在 localhost:3000 上访问它。

© www.soinside.com 2019 - 2024. All rights reserved.