boylibre Posted February 11, 2014 Share Posted February 11, 2014 (edited) I'm using PS 1.4.8.2 and just moved to another host. Everything works OK except for DB backup function. When I run it it displays this message after a while "Maximum execution time of 30 seconds exceeded in /home/lenspage/public_html/classes/Backup.php on line 286". When I checked, line 286 is fwrite function. It sounds like server setting. Anybody knows what setting is that? TIA. Boy Edited February 11, 2014 by boylibre (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted February 11, 2014 Share Posted February 11, 2014 Ask your host to increase the php execution limit. See if they will increase it to 600 seconds. 1 Link to comment Share on other sites More sharing options...
boylibre Posted February 11, 2014 Author Share Posted February 11, 2014 After searching, the solution is either ask the provider to change the php.ini or add this command at the top of backup.php. set_time_limit(x); where x is the time in seconds Thanks Dh42 Link to comment Share on other sites More sharing options...
Recommended Posts