View Complete Thread
  • Re: PHP very slow on IIS7

    Sep 24, 2009 05:57 AM|pierrejoye|LINK

    I can imagine two possible sources for this problem:

    • <div mce_keep="true">IPv6 is enabled and localhost does not exist or ::1</div>
    • <div mce_keep="true">Mysql's libmysql is used instead of PHP's libmysql.</div>

    It happens that the IPv6 problem was the cause for this problem (as you stated later). The 2nd possibility happens a lot when someone installs mysql after PHP, or do a mysql update after having installed PHP.

    The latest Mysql's libmysql is not compatible with php's libmysql (and many other, that's not a php specific problem). They suffer from ABI compatibilities issues. The solution is to alter your PATH to be sure that php is first defined( PATH=c:\PHP;c:\mysql for example).

     

    PHP mysql ipv6 timeout error 500