Report this

What is the reason for this report?

I want to ask how to Set TimeOut value in .htaccess file to 600 seconds or more. in cyberpanel server

Posted on November 19, 2021

I want to ask how to Set TimeOut value in .htaccess file to 600 seconds or more. in cyberpanel server as I need those for a plugin to work proplerly



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

If this is CyberPanel + OpenLiteSpeed server, you can update the max_execution_time value from CyberPanel > PHP > Edit PHP Configs. If you only want to set the value per domain, then you can set it via web admin or vhost config with e.g.

phpIniOverride {
php_value max_execution_time '600'
}

For CyberPanel + LSWS, then you can just set php_value max_execution_time '600' to the .htaccess file.

Remember to restart the PHP process to reload the new value.

killall lsphp

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.