亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

nginx - Which should I use between php-fpm.sock and php-cgi.sock?
伊謝爾倫
伊謝爾倫 2017-05-16 17:18:02
0
2
1024

When configuring PHP monitoring, I saw two ways of writing:
One is:

listen = /dev/shm/php-fpm.sock

Another one is:

listen = /dev/shm/php-cgi.sock

That is, php-fpm.sock and php-cgi.sock, which one is better? The php version is 7.0.

伊謝爾倫
伊謝爾倫

小伙看你根骨奇佳,潛力無限,來學(xué)PHP伐。

reply all(2)
黃舟

Use whichever one you match, if you are using ngnix + fastcgi,那就用php-cgi.sock;如果是ngnix + php-fpm,那就用php-fpm.sock。當(dāng)然,fpm的效率要比fastcgi高,因?yàn)?code>fpm就是一個(gè)fastcgi’s manager.

大家講道理

It doesn’t matter what the file name is

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