Question

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

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


Submit an answer

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!

Sign In or Sign Up to Answer

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