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

前端 未结 4 1886
独厮守ぢ
独厮守ぢ 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 11:53

    I also experienced an annoying 2 second delay running PHP from the command line under Windows 7 64bit.

    This version had a delay:
    php.exe (v5.3.5) shipped with ZendServer Community Edition

    This version was wonderfully quick:
    php.exe (v5.3.6) shipped with EasyPHP

    (Sorry to bump an ancient thread, but hopefully this helps others Googling this issue.)

提交回复
热议问题