【问题标题】:Maximum execution time of 30 seconds exceeded in ... ClassLoader.php... ClassLoader.php 中超过了 30 秒的最大执行时间
【发布时间】:2017-10-26 14:26:28
【问题描述】:

我无法在 xampp 中访问 PhpMyAdmin,因为我遇到了这个错误:

致命错误:C:\xampp\phpMyAdmin\vendor\composer\ClassLoader.php 第 354 行的最大执行时间超过 30 秒

我在 stackoverflow 中更改了此处建议的所有文件中的所有执行时间,但没有成功!我也试过重新安装 xampp 什么都没有。

这是显示第 354 行的内容

if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) { 返回$文件;

请帮忙!

【问题讨论】:

  • 什么时候出现这个错误;当您第一次尝试连接到 phpMyAdmin 时?你能看到登录页面或初始/主页吗?

标签: javascript phpmyadmin xampp


【解决方案1】:

转到“C:\xampp\php\php.ini”并将“max_execution_time=30”更改为“max_execution_time=-1”“max_input_time=60”为“max_input_time=-1”。现在保存文件,停止 apache 服务并重新启动它

【讨论】:

  • 你确定你修改了正确的 php.ini 吗?尝试使用“phpinfo()”检查您的页面
  • 并尝试添加“ini_set('max_input_time', '-1');”在您的代码顶部
猜你喜欢
  • 2013-04-01
  • 2019-04-07
  • 2018-08-01
  • 2014-01-20
  • 2011-05-02
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多