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
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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.