简体   繁体   中英

Maximum execution time of 300 seconds exceeded, can't change max_execution_time

I'm running a Wordpress installaction on localhost, using xampp.

I made a backup using WP Clone plugin, and now i'm trying to restore it on my localhost version.

After some time, i get the message:

Fatal error: Maximum execution time of 300 seconds exceeded in C:\xampp\htdocs\sbc\wp-admin\includes\class-wp-filesystem-direct.php on line 217

I tried this several times, and i get the same error always. The only difference is it happens on different files.

I tried changing the value of max_execution_time from 30 to 1000 in php.ini (and restarting xampp afterwards) and it didn't help.

Any ideas?

Make sure you're changing the correct ini.

<?php phpinfo(); ?>

You can also change the value in the .htaccess:

<IfModule mod_php5.c>
php_value max_execution_time 1000
</IfModule>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM