Brendan Posted March 14, 2008 Share Posted March 14, 2008 I am unaware if this is a mysql or php issue, but my test server is on a windows xp machine and runs extremely slow when processing the two. The home page of the site, which involves very little php/mysql runs fairly quickly. The database and php code work quickly on the webserver, and i actually have php on the my local test server connect to the webservers mysql database for testing. It is slow to the extent that I get the "Fatal error: Maximum execution time of 60 seconds exceeded." frequently. Quote Link to comment Share on other sites More sharing options...
teng84 Posted March 14, 2008 Share Posted March 14, 2008 not quite sure but maybe you have a never ending loop.. do check your codes ! Quote Link to comment Share on other sites More sharing options...
Brendan Posted March 15, 2008 Author Share Posted March 15, 2008 The code works fine on the webserver, the timeout is due to slow processsing of the code so it's not a loop problem. Anyone know potential ways of solving this? Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted March 15, 2008 Share Posted March 15, 2008 It sounds like you are access the database remotely? If so, the speed will be limited by your Internet connection speed. This will be several orders of magnitude slower than directly connecting. So, why are you doing it this way and if you must do it, simply increase the php maximum execution time limit. Find out how by checking the php manual - http://php.net/set_time_limit Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.