Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php nginx file not found

location ~ .php$ {
            root           html;
            fastcgi_pass   127.0.0.1:9000;
            fastcgi_index  index.php;
            fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
            include        fastcgi_params;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #nginx #file
ADD COMMENT
Topic
Name
8+3 =