xampp尝试导入大文件时phpMyadmin中的最大执行时间[重复]

u5rb5r59  于 2023-10-20  发布在  PHP
关注(0)|答案(1)|浏览(207)

此问题已在此处有答案

WAMPServer phpMyadmin Maximum execution time of 360 seconds exceeded(3个答案)
2个月前关闭。
尝试将大文件导入到数据库时会遇到此问题:
致命错误:超过60秒的最大执行时间
我已经尝试了所有的解决方案在互联网上,但同样的问题
我也使用了这里的解决方案,但它没有工作:Maximum execution time in phpMyadmin
phpmyadmin中的mysql。

ego6inou

ego6inou1#

您需要编辑phpmyadmin.conf!
样本路径:会话信息:SESSION_ID = jkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
或通过WAMP图标进行编辑:- > Apache->目录-> phpMyAdmin
你会发现代码如下:

<Directory "${INSTALL_DIR}/apps/phpmyadmin5.2.1/">
      Options +Indexes +FollowSymLinks +MultiViews
      AllowOverride all
      Require local
    # To import big file you can increase values
      php_admin_value upload_max_filesize 1028M
      php_admin_value post_max_size 1028M
      php_admin_value max_execution_time 3600
      php_admin_value max_input_time 3600
    </Directory>

改变变量:php_admin_value max_execution_time根据您的需要

相关问题