Apache 2.4 的 ProxyPass 對 Unix Domain Socket 的 FastCGI 界面設定

出自「High-performance PHP on apache httpd 2.4.x using mod_proxy_fcgi and php-fpm.」這邊的方法:

ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:/var/run/php5-fpm.sock|fcgi://127.0.0.1:9000/var/www/www.example.com/public/

後面那個 127.0.0.1:9000 看起來變成裝飾用,有點奇怪... 不過至少會動?

2 thoughts on “Apache 2.4 的 ProxyPass 對 Unix Domain Socket 的 FastCGI 界面設定”

  1. 我不知道mod_proxy_fcgi对php的socket会不会好点. nginx对此总有点怪怪的问题出现, 不过如果用tcp就没任何问题.

  2. 妹妹22歲

    身高167

    體重52

    三圍34D 24 33

    價錢 3000 90分鐘2次

    服務地點

    注意 請禮貌噢
    sd
    不然會被刪除賬號

    聯係方式賴qq19921128

    相簿請復制blog.yam.com/ntmd779

Leave a Reply

Your email address will not be published. Required fields are marked *