Conductor is a CLI tool to automate the installation of a Laravel application server complete with a CLI tool (conductor) to help deploy and manage multiple web applications on the server with ease.
MIT License
5
stars
1
forks
source link
Add the cgi.fix_pathinfo fix for the PHP-FPM configuration at installation. #7
We need to make a PHP.ini change upon installation, the 'cgi.fix_pathinfo' should be set in: like so:
[...]
; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
; http://php.net/cgi.fix-pathinfo
cgi.fix_pathinfo=0
[...]
We need to make a PHP.ini change upon installation, the 'cgi.fix_pathinfo' should be set in: like so: