Why is the running interface of nginx + php-fpm particularly slow when running on the new MacBook Pro?
阿神
阿神 2017-05-16 13:07:38
0
2
373

I didn’t think about the machine at first, but later I found out that my colleague also encountered the same problem. Mine was a 15-inch black high-end version, and his was a 13-inch black. They both encountered it after buying new machines for development. The problem is that when running PHP, the CPU load and memory usage are not high, but requesting a local interface takes anywhere from a few seconds to more than ten or twenty seconds, which is very troublesome. The following are nginx and php versions:

nginx version: nginx/1.10.3
PHP 5.6.29 (cli) (built: Dec 9 2016 07:03:56)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies

Later, he replaced nginx with apache that comes with mac, and the situation improved, but I still want to find out what the cause is. Has anyone encountered the same problem as me? ?

阿神
阿神

闭关修行中......

reply all(2)
刘奇

No, I haven’t encountered it

滿天的星座

I used the 15-inch space gray with bar, and I didn’t encounter any problems with the original poster. . . Try reinstalling the environment.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template