September 05, 2011 02:21PM
cgi.fix is already set in php.ini


#user nobody;
worker_processes 3;

#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;

#pid logs/nginx.pid;

events {
worker_connections 1024;
}

http {
passenger_root /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.8;
passenger_ruby /usr/local/bin/ruby;

include mime.types;
default_type application/octet-stream;

#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';

#access_log logs/access.log main;

sendfile on;
#tcp_nopush on;

#keepalive_timeout 0;
keepalive_timeout 65;

#gzip on;

server {
listen 80;
server_name localhost;

#charset koi8-r;

#access_log logs/host.access.log main;
location / {
root /var/www/contest;
index index.php index.html index.htm;
}

location /staging {
root /var/www/FreeFallHighScoreWebStuff/current/public;
passenger_enabled on;
passenger_min_instances 3;
}

location /staging_assets {
root /var/www/FreeFallHighScoreWebStuff/current/public;
}

#error_page 404 /404.html;

# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}

location /gitphp {
root /var/www;
index index.php index.html index.htm;
}


## Parse all .php file in the /var/www directory
location ~ .php$ {
root /var/www;
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_pass backend;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /var/www$fastcgi_script_name;
include fastcgi_params;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_intercept_errors on;
fastcgi_ignore_client_abort off;
fastcgi_connect_timeout 60;
fastcgi_send_timeout 180;
fastcgi_read_timeout 180;
fastcgi_buffer_size 128k;
fastcgi_buffers 4 256k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;
}

location ~ /\.ht {
deny all;
}
}

upstream backend {
server 127.0.0.1:9000;
}
}
Subject Author Posted

Can't fix "No input file specified." with php-fastcgi

loganbest September 04, 2011 02:37PM

Re: Can't fix "No input file specified." with php-fastcgi

Guillermo Garron September 04, 2011 02:42PM

Re: Can't fix "No input file specified." with php-fastcgi

loganbest September 04, 2011 02:46PM

Re: Can't fix "No input file specified." with php-fastcgi

loganbest September 04, 2011 04:24PM

Re: Can't fix "No input file specified." with php-fastcgi

Guillermo Garron September 04, 2011 03:04PM

Re: Can't fix "No input file specified." with php-fastcgi

loganbest September 04, 2011 05:14PM

Re: Can't fix "No input file specified." with php-fastcgi

Guillermo Garron September 04, 2011 05:20PM

Re: Can't fix "No input file specified." with php-fastcgi

loganbest September 04, 2011 05:21PM

Re: Can't fix "No input file specified." with php-fastcgi

locojohn September 05, 2011 02:17PM

Re: Can't fix "No input file specified." with php-fastcgi

loganbest September 05, 2011 02:21PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 318
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready