PHP Fatal error: Maximum execution time of 300 seconds exceeded


  • | 425 points

    I've searched the forums and Google. And I've done the following already:

    • Increased the max execution time using Laragon's PHP > Quick settings > Set to 36000
    • Checked the php.ini file in /bin/php/php-version/php.ini (reflects the 36000)
    • Tried to copy the php.ini into my domain folder
    • Checked php_errors.log and see the last line ([13-Oct-2020 03:42:33 UTC] PHP Fatal error: Maximum execution time of 300 seconds exceeded in E:\laragon\www\domain\wp-includes\class-wp-image-editor-gd.php on line 191)

    But I'm still running into PHP fatal error as mentioned. So I'm wondering what else did I not do to increase the limit. :thinking:


  • administrators
    | 124496 points

    @dannyfoo :

    1. Why did you do this? > Tried to copy the php.ini into my domain folder
    2. How about the display of phpinfo()?

  • | 425 points

    1. Was trying to troubleshoot whether it was because the php.ini wasn't in the domain folder.

    2. phpinfo() does list the max execution time as 36000


  • administrators
    | 124496 points

    @dannyfoo : I believe somewhere in your code set the max_execution_time ;)


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.