Saturday 8 September 2012

PHP 5.3 and IIS, XAMPP, Apache - slow loading


To fix this it is as easy as changing your database connection from using a hostname (such as localhost or server.com), and instead using an IP address (such as 127.0.0.1 or 192.168.1.2). After a quick restart of IIS to make sure the changes get applied page loads are back down where I expect them to be.


change configuration of mysql files to be 127.0.0.1 instead of localhost




Hi guys, my problem was a name resolution issue all because I had the skip-name-resolve in my my.ini in the wrong spot. It was in [mysql] when in fact it should be in [mysqld]. Fixed my own problem in the end but not without a bit of debugging first..

No comments:

Post a Comment