While installing Magento, on WAMP I was getting timeout errors a lot like
Fatal error: Maximum execution time of 60 seconds exceeded in c:\wamp\www\magento\lib开发者_C百科\Zend\Db\Statement\Pdo.php on line 228
I have no idea where to look to increase the execution time if needed. Can anyone help with this error?
change the following value in your php.ini
max_execution_time = 18000
You can also adjust the max_execution_time in your htaccess using
php_value max_execution_time 18000
This would be in your PHP ini file max_execution_time
Runtime Configuration
Try making sure your settings are:
- max_execution_time is 0 and
- max_input_time = 60 --> change max_input_time = 6000
- memory_limit = 128M --> change it to memory_limit = 512MB
after this I re-installed magento and it worked for me.
I hope this helps you.
I got the same problem, as suggested I did the following changes.
- (wampserver-path)\bin\apache(Apache Version)\bin\php.ini - Set the value max_execution_time = 1800
- (wampserver-path)\bin\php(PHPVersion)\php.ini - Set the value max_execution_time = 1800
But it didn't work. Then I made the next change
- In the host/(path-to-magento)/index.php, just after the opening
<?php
tag, added the following.set_time_limit(1800)
;
<?php set_time_limit(1800); //** Other bunches of code ?>
Then tried to install a fresh copy. It worked! Hope this helps...
is this ok or not want is your Recommended ?
max_execution_time = 15000
max_input_time = 15000
session.gc_maxlifetime = 15000
memory_limit = -1
upload_max_filesize = 150
I did that by deleting the file app\etc\local.xml
精彩评论