Skip to content

Maximum execution time of 30 seconds exceeded #1092

@zakblacki

Description

@zakblacki

Octane Version

2.13

Laravel Version

12

PHP Version

8.4.17

What server type are you using?

FrankenPHP

Server Version

.

Database Driver & Version

MySQL 9.0.1 DBngin Windows 11

Description

I'm using with WSL

Note I have already modified php.ini

php -i | grep max_execution_timetime max_execution_time => 0 => 0

And stopped php artisan octane:stop

Error :

`php artisan octane:start --host=0.0.0.0 --watch --verbose

   INFO  Server running….  

  Local: http://0.0.0.0:8000 

  Press Ctrl+C to stop the server

   WARN  Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies.  

   ERROR  PHP Fatal error: Maximum execution time of 30 seconds exceeded in vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Renderer/Exception.php on line 118.

   ERROR  PHP Fatal error: Maximum execution time of 30 seconds exceeded in vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Renderer/Exception.php on line 118.`

I have also tried all the following :

Added .env file
MAX_EXECUTION_TIME=300

Configure in config/octane.php

phpreturn [
    'server' => env('OCTANE_SERVER', 'frankenphp'),
    
    'max_execution_time' => 300, // Add this line
    
    // ... rest of config
];

Also updated Caddyfile


{
    frankenphp
    order php_server before file_server
}

:8000 {
    php_server {
        max_execution_time 300
    }
}

laravel.log


#0 {main}
"}
[2026-01-27 14:54:01] local.ERROR: Maximum execution time of 30 seconds exceeded {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Maximum execution time of 30 seconds exceeded at /mnt/d/Projects/refraapp/backend/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Renderer/Exception.php:118)
[stacktrace]
#0 {main}
"}
[2026-01-27 14:54:01] local.ERROR: Maximum execution time of 30 seconds exceeded {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Maximum execution time of 30 seconds exceeded at /mnt/d/Projects/refraapp/backend/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Renderer/Exception.php:118)
[stacktrace]
#0 {main}
"}

Also did

php artisan config:clear && php artisan cache:clear && php artisan view:clear && php artisan route:clear && php artisan config:cache && php artisan route:cache

Steps To Reproduce

  1. composer require laravel/octane
  2. php artisan octane:install --server=frankenphp
  3. php artisan octane:start --host=0.0.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions