Skip to content
● Critical PHP security fixes are out: update PHP on your Grav sites. What to do →

Cannot back-up because of set_time_limit()

Started by nicolas 6 years ago · 2 replies · 904 views
6 years ago

Hi,
I cannot back-up the Grav website I’m working on because this error appears when pressing the back-up button:

An error occurred. set_time_limit(): Cannot set max execution time limit due to system policy

Any idea how to fix that?
Thanks!

6 years ago

Your server has a setting configured to prevent overriding the set_time_limit()-function, typically set in php.ini or by Security-Enhanced Linux. Is this happening in local development or on a hosted-server? If it's on a remote server, you may want to ask the host whether this can be configured or otherwise overridden by you.

Locally we'd need to know how you are running Grav to find a solution.

Suggested topics

Topic Participants Replies Views Activity
Support · by webmasterodp, 2 weeks ago
4 248 2 weeks ago
Support · by nwhitfield, 2 weeks ago
2 213 2 weeks ago
Support · by stell, 4 weeks ago
5 458 3 weeks ago
Support · by gravinator, 2 months ago
5 637 3 weeks ago
Support · by Gravver, 1 month ago
6 430 4 weeks ago