Increase the maximum execution time in php in godaddy web hosting

Could you please tell me how to increase the execution time in php in godaddy web hosting. I have tried .user.ini file in website folder below is my code

max_execution_time=5000

Read More

Could you please explain how to achieve this in godaddy.

Related posts

3 comments

  1. In .htaccess

    <IfModule mod_php5.c>
    php_value max_execution_time 5000
    </IfModule>
    

    OR place this at the top of your PHP script

    ini_set('max_execution_time', 5000);
    
  2. Usually the php.ini is located in the home/ of your hosting file manager. You can edit the same form there or in case you don’t have access to this file you can use the .htaccess file located in the landing directory of your particular website.

Comments are closed.