PHP factor 30 performance difference from Linux to Windows

后端 未结 5 1516
不知归路
不知归路 2020-12-13 09:05

Our team is working is developing WordPress plugins and provides hosted instances on a couple of independent servers. Our WordPress installation is managed by Git, all serve

5条回答
  •  一个人的身影
    2020-12-13 09:45

    Use NGINX and FCGI for PHP via UNIX socket (not TCP socket).

    http://wiki.nginx.org/PHPFcgiExample

    You will notice immediately speed improvements even without accelerators. Additionally, above setup would have much lower memory usage footprint.

提交回复
热议问题