I update nginx to 1.4.7 and php to 5.5.12, After that I got the 502 error. Before I update everything works fine. nginx-error.log 2014/05/03 13:27:41 [crit] 4202#0: *1 connect() to unix:/var/run/php5-fpm.sock failed (13: Permission denied) while connecting to upstream, client: xx.xxx.xx.xx, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "xx.
Introduction¶ This article provides step-by-step instructions for installing Cerb on an Ubuntu 14.04 LTS server with Nginx as a webserver and PHP-FPM (PHP5 FastCGI Process Manager) for executing PHP code. The Nginx + PHP-FPM combination has several advantages over Apache2 + mod_php5: Nginx often uses less memory than Apache because it performs a more specific task with less overhead. This makes it
AmazonLinuxにnginx+PHP5.6+PHP-fpm+PHP-redis環境を作ったのでその時のメモ。なお、php-fpmはsocket接続で、PHP-redisはAmazonLinuxリポジトリになかったのでremiリポジトリからダウンロードした 環境 AmazonLinux nginx(AmazonLinuxリポジトリ) PHP5.6(AmazonLinuxリポジトリ) PHP-fpm(AmazonLinuxリポジトリ) PHP-redis(remiリポジトリ) 参考 CentOSにてnginxでPHPを動かす nginx + php-fpm socketで接続する nginx ここはざっくり記載 # install $sudo yum install nginx -y # start service $sudo service nginx start # confirm
I was looking everywhere, but I could never find a good guide that explains how to configure Nginx with PHP-FPM for a heavy server load, so I hope this is the place where I will find my answer. I have a 24 core server with 32GB RAM with Centos 5.6 which is running Nginx 1.0.2 web server with PHP-FPM (PHP 5.3.5) which is hosting a website that is running some very easy and fast php scripts which ar
お名前.com VPS メモリ2G プランに Nginx で WordPress を構築するメモ、第9回目。前回はさくらレンタルサーバの WordPress をお名前.com VPS に引越しする手順を紹介しました。 今回は、Nginx と PHP-FPM をインストールして phpinfo を表示させるところまでやります。 目次 Nginx をインストール Nginx を起動 PHP-FPM をインストール PHP-FPM を設定 PHP の Session を memcached に入れる Nginx で PHP を動作させる最小限の設定 ベーシック認証を設定 Nginx の logrotate Nginx をインストール Nginx は CentOS 標準のリポジトリに存在せず、remi リポジトリのパッケージもやや古いので、開発サイトのリポジトリから最新版をインストールします。 参
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く