Strange 5 second pause with PHP command line interface (related to mysql/mysqli extension)

前端 未结 4 1899
独厮守ぢ
独厮守ぢ 2021-01-05 11:50

I\'m getting a strange 5 to 7 second pause when executing PHP scripts from the command-line PHP client (PHP 5.2 on Windows).

During this pause the PHP script just ap

4条回答
  •  悲&欢浪女
    2021-01-05 12:12

    it's a bug in mysql. you can solve it by getting the latest libmysql.dll (5.1.31 or higher. some older versions also work - see second link). make sure that's the libmysql.dll actually used and there are no other libmysql.dlls in your path. see the related php issue for details.

提交回复
热议问题