Guy, nobody has and idea how to solve it? or where i need to start for? i have a workaround executing the script on cli, basically using system function, but i want to solve it if i can. thank.by xengine - Php-fpm Mailing List - English
Thank Mostafa, i made change that you suggest, but still not work. What could be? and how i check where is the problem? if i use php directly without nginx it works.by xengine - Php-fpm Mailing List - English
My nginx configuration: /etc/nginx/nginx.conf user www-data; worker_processes 4; error_log /var/log/nginx/error.log; pid /var/run/nginx/nginx.pid; events { worker_connections 1024; } http { include /etc/nginx/mime.types; sendfile on; #tcp_nopush on; keepalive_timeout 65; tcp_nodelay on; access_log /var/log/by xengine - Php-fpm Mailing List - English
If i run the script on php-cgi mode at console works like a charm! I'm using nginx version: nginx/0.8.33 and fastcgi script on ubuntu: #! /bin/sh # ### BEGIN INIT INFO # Provides: php-fastcgi # Required-Start: $all # Required-Stop: $all # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start and stop php-cgi in external FASTCGI mode # Describy xengine - Php-fpm Mailing List - English
Hello, I'm little lost becouse i have and script that work ok at local on cli php mode and when i upload to production server with nginx and fastcgi it crash. The PHP log haven't got any report of error using E_ALL and in fact the script works a moment and then suddenly stop. On Nginx log appear "readv() failed (104: Connection reset by peer) while reading upstream" Basicallyby xengine - Php-fpm Mailing List - English