We can resolve these errors through php.ini file or through .htaccess file.
- From php.ini file, increase the max_execution_time =360 (or more according to need)
and change memory_limit =128M (or more according to need) - From php file, we can increase time by writing ini_set(‘max_execution_time’,360 ) at top of php page to increase the execution time.And to change memory_limit write ini_set(‘memory_limit ,128M )
- From .htaccess file, we can increase time and memory by:
<IfModule mod_php5> php_value max_execution_time 3600 php_value memory_limit 128M </IfModule>