Resolved: Nginx: PATH_INFO enabling


Hello there!

How can I enable PATH_INFO support on a vhost created with ee with php7 and mysql enabled?

I need to place the following lines in FastCGIParams: Instructions: You have to edit the file /etc/nginx/fastcgi_params and add the following lines, if they are not present: fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;

However I am still seeing that pathinfo support is not enabled on that vhost when I run the tool that I wish to install.

Is there anything else I need to do on an ee setup to get this to work when using php7 config files?

Thanks much for any help!


Got it to work. I added a new .conf file in vhost nginx directory for this particulr usecase and added among other configurations these lines of code, which fixed the issue for me:

location ~ .php(/|$) { fastcgi_split_path_info ^(.+?.php)(/.*)$; fastcgi_pass php7; include fastcgi_params; }