I managed to run PHP 7 in “CGI” mode, but I have an error in “FastCGI” mode that I can not solve:
[error] [client 22.214.171.124] FastCGI: incomplete headers (115 bytes) received from server “/local/basepro/m4stats/php/php.fcgi”, referer: http://tmvs:8080/
In Apache conf file I have :
AddType application/x-httpd-php .php
In the shell that runs the PHP script I have (both for CGI mode and FastCGI mode) :
PHP scripts and php.ini are IBM-1047 encoded.