Increasing max execution time

cpanel-how-to-change-php-settings-800x300

Are you  receiving errors due to PHP scripts timing out when manipulating large amounts of data?  As a large import or export?

Maybe you  need to increase the max execution time in PHP. and now I  show you how to do so.

PLEASE:

keep in mind that these are generic instructions, as we cannot possibly account for every change in your web hosting environment. If these steps are unable to resolve your issue, or if you have any concerns about them, your best and quickest solution is to contact your web host.

Modifying your max execution time in php.ini

You should  have a php.ini file within your home directory. If it is present, find the max_execution_timeparameter and modify it to increase the number of seconds PHP scripts are allowed to run.

max_execution_time = 300

Modifying your max execution time in .htaccess

If you are unable to change your max execution time from within a php.ini file, you may be able to change it within your .htaccess file. This file is typically located within your home directory. If you don’t see it, be sure you are able to see hidden files.

Place the following in the top of your .htaccess file:

php_value max_execution_time 300

Leave a Reply

0
0,00
Your Cart
No product in the cart

Main Menu