phpMyadmin中的最大执行时间? [英] Maximum execution time in phpMyadmin?
问题描述
当我尝试使用phpMyadmin时,出现此错误
When I try to go phpMyadmin I get this error
Fatal error: Maximum execution time of 30 seconds exceeded in
C:\xampp\phpMyAdmin\libraries\session.inc.php on line 108
推荐答案
Bobox,
您正在编辑错误的php.ini
文件.有2个php.ini
文件.
You are editing the wrong php.ini
file. There are 2 php.ini
files.
\xampp\php\php.ini
中有一个,此文件仅影响您从命令行运行的PHP.
One is in \xampp\php\php.ini
, this file only effects PHP that you run from the command line.
另一个位于\xampp\apache\bin\php.ini
中,这是Apache运行时使用的文件,因此,您需要修改该文件以实现phpMyAdmin
的执行.
The other is in \xampp\apache\bin\php.ini
this is the file that Apache uses when it runs, so this is the file you need to amend to effect the execution of phpMyAdmin
.
所以编辑\xampp\apache\bin\php.ini
找到max_execution_time
参数并将其更改为
max_execution_time=600
然后重新启动Apache,以便它读取此更改,然后尝试再次运行您在phpMyAdmin中所做的任何事情.
Then restart Apache, so that it reads this change then try running whatever you are doing in phpMyAdmin again.
如果仍然出错,请尝试将时间参数增加到900,依此类推,直到可行为止
If it still errors, try increasing the time parameter to 900, etc, until whatever it is works
这篇关于phpMyadmin中的最大执行时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!