Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to Increase 30 sec timeout in mysql/php


Genius

Recommended Posts

HI could anyone help me as to how i can increase the timeout of 30 sec in mysql and php files.. I am using the easy populate contribution and when i upload my products i am getting:

 

Fatal error: Maximum execution time of 30 seconds exceeded in C:\Inetpub\wwwroot\catalog\admin\includes\functions\database.php on line 45

 

Fatal error: Maximum execution time of 30 seconds exceeded in C:\Inetpub\wwwroot\catalog\admin\includes\functions\sessions.php on line 37

 

Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0

 

many thanks

Link to comment
Share on other sites

In your php.ini file there is a line

 

max_execution_time = 3600 ; Maximum execution time of each script, in seconds

 

 

Change this to whatever you want. Remember to restart your webserver after making this change.

 

Mike

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...