Maximum execution time exceeded: C:\xampp\htdocs\testsite\wp-includes\Requests\Transport\cURL.php on line 463

I was playing with a demo site using WordPress in my localhost with XAMPP. At some point, while installing a plugin called The Events Calendar, the installation failed with the error message:

Pic 1: Error message during plugin installation.

Reading some articles to get a solution, I found people reported similar problems having a little different error messages, like:

Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\tal\dev-2\wp-includes\class-wp-http-curl.php on line 324

Solution: This is neither a problem with the WordPress nor with the Plugin, it’s related to the PHP Configuration in XAMPP. I solved it with the following steps:

  • Open php.ini file from the XAMPP folder, in my case it is located at C:\xampp\php
  • Search for max_execution_time (the time limit is mentioned here, in my case it was 30)
Pic 2: Finding max_execution_time parameter from php.ini file.
  • Change the parameter to higher value, I set it to 120 which is 2 minutes.
  • Restart XAMPP.

This worked for me and I could install the plugin without any further similar problems :-(.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.