Quantcast
Image

Search Results for: ini_set

How to increase PHP maximum execution time in cPanel

By  •  November 28, 2023

PHP scripts by default are allowed to be executed for no longer than 30 seconds. The option is defined in the max_execution_time directive, and your PHP script will exit …
Read More

How to increase PHP maximum execution time

By  •  December 2, 2021

The max_execution_time directive defines the maximum execution time for your PHP scripts and applications. If not configured, the default maximum execution time for a PHP script is 30 seconds. …
Read More

How to increase PHP memory limit

By  •  May 28, 2018

PHP scripts are only allocated a certain amount of memory that it can use, and whet it reaches the limit, it will produce the following error;

PHP Fatal error: Allowed memory size of xxxx bytes exhausted (tried to allocate yyyy) in yourscript.php

To fix this, you’ll need to increase the memory limit for PHP scripts using any of the following methods;

Top