Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Localhost taking too long. What to do?

I'm working on a project. Yesterday it was working very fine but when I've updated my system OS from Windows 7 32 bit to Windows 8 64 bit and wamp server from 32 bit to 64 bit now I'm getting very slow localhost response in my Php project (6 Senonds delay on each page) also I didn't change anything within the script. Unable to identify what could be the problem.

like image 259
Yousuf Memon Avatar asked Nov 06 '12 09:11

Yousuf Memon


3 Answers

Disabling the ipv6 also improves response speed issue.

http://www.techunboxed.com/2012/08/how-to-disable-ipv6-in-windows-8.html

like image 55
Yousuf Memon Avatar answered Nov 13 '22 05:11

Yousuf Memon


WAMPServer has some probelms with Windows 8. Use XAMPP. I am a hardcore WAMPServer user. But, had to switch to XAMPP due to some threading issues.

You can read more about the issue here.

like image 27
Praveen Kumar Purushothaman Avatar answered Nov 13 '22 03:11

Praveen Kumar Purushothaman


As an IPV6 issue, here is how you make MYSQL not to use it. (so, without disabling IPV6)

edit mysql file 'my.ini'

under the [wampmysqld] add the following: bind-address = ::

save file and restart mysql service

enjoy!

like image 1
Honesta Avatar answered Nov 13 '22 05:11

Honesta