问题描述
大家好,有人可以帮助我解决magento安装方面的问题.我的问题是我已经在wamp上下载了magento,在安装过程中出现了错误,并且si给出的msg是致命错误:超过了60秒的最大执行时间c:\ wamp \ www \ magento \ lib \ varien \ db \ adapter \ pdo \ mysql.php在276行.plz为我提供了解决方案,任何一个我坚持不懈的时间都足够长,谢谢
Hello guys can anyone help me with the issue im having with installation of magento.my problem is that i have downloaded the magento on wamp and during my installation i got the error and the msg it si giving is FATAL ERROR : Maximum execution time of 60 sec exceeded inc:\wamp\www\magento\lib\varien\db\adapter\pdo\mysql.php on line 276. plz provide me with the solution any one coz im stuck on this for long enough thanks in advance
推荐答案
使用以下设置修改您的php.ini:
Modify your php.ini with this setting:
max_execution_time = 1800
在使用Magento时,我还修改了分配给php的内存限制
I also modify the memory limit allocated to php when using Magento
memory_limit = 512M
或者,如果您没有php.ini访问权限,则可以编辑index.php.
Alternatively you can edit index.php, if you don't have php.ini access.
ini_set('max_execution_time ', 1800);
这篇关于在wamp上安装magento的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!