Jump to content

local host extremely slow


Brendan

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/96068-local-host-extremely-slow/
Share on other sites

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

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.