День добрый. Хотелось снизить нагрузку с сервера апач, и переложить на nginx + php5-fpm.
Не получается, при загрузке портала на тв приставке, в логах nginx ловлю следующее...
2017/03/10 12 31336#0: *130 FastCGI sent in stderr: "PHP message: PHP Fatal error: Class 'Stalker\Lib\Core\Config' not found in /var/www/stalker_portal/server/common.php on line 40" while reading response header from upstream, client: 91.xxx.xx.82, server: 127.0.0.1, request: "GET /stalker_portal/server/load.php?type=watchdog&action=get_events&cur_play_type=1&event_active_id=0&init=0&JsHttpRequest=1-xml HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mw.alfatelplus.ru", referrer: "http://mw.xxxxxxx.ru/stalker_portal/c/"
Напрямую из апача все работает.