Question

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

Posted November 19, 2021 74 views
DigitalOcean 1-Click Apps Marketplace

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

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.

×
Submit an Answer
1 answer

If this is CyberPanel + OpenLiteSpeed server, you can update the maxexecutiontime 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