Welcome! Log In Create A New Profile

Advanced

Re: nginx + php-fpm "modern configuration way"

April 03, 2012 02:58PM
Thank you all for your reply

So, adding
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;

doesn't really hurt.

The box I'm running does shared hosting for a couple of users and I don't
really know in advance what they want to install on their account.
I'm going to keep those 3 lines in hope it helps some php scripts out there
to run correctly.

Gregory
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx + php-fpm "modern configuration way"

gpakosz April 03, 2012 04:52AM

Re: nginx + php-fpm "modern configuration way"

Edho Arief April 03, 2012 04:54AM

Re: nginx + php-fpm "modern configuration way"

gpakosz April 03, 2012 05:04AM

Re: nginx + php-fpm "modern configuration way"

Tiberius April 03, 2012 06:22AM

Re: nginx + php-fpm "modern configuration way"

gpakosz April 03, 2012 02:58PM

Re: nginx + php-fpm "modern configuration way"

locojohn April 03, 2012 05:05AM

Re: nginx + php-fpm "modern configuration way"

Antonio P.P. Almeida April 03, 2012 05:08AM

Re: nginx + php-fpm "modern configuration way"

locojohn April 03, 2012 05:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 182
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready