Search Our Database
How to Change the PHP “max execution time” with “.htaccess” File
One of the easy ways to change the PHP “max execution time” for your website is by adding the line in the .htaccess file of your website.
Step 1: To increase the max execution time in PHP, you need to upload a “.htaccess” file into the “public_html” folder of your website, if the .htaccess has already existed in the public_html folder, simply just edit the file and add the line as in the next step.
Step 2: Add the line below in the .htaccess file:-
php_value max_execution_time <value-that-you-want-to-set>
example:-
php_value max_execution_time 60