PHPCGI Port conflict?

  • | 175 points

    I am getting the following error on the nginx error.log

    2020/04/09 07:32:58 [error] 13316#17096: *15 upstream sent unsupported FastCGI protocol version: 72 while reading response header from upstream, client:, server: localhost, request: "POST /forms/completedetails/completedetails.php?sfm_sid=3944&sfm_postfile=1 HTTP/1.1", upstream: "fastcgi://", host: "localhost:9090", referrer: "http://localhost:9090/forms/completedetails/completedetails.php"

    Running netstat, I can also see that there's a process on my box listening to 9002 (unrelated to Laragon). Is this a port conflict? If that's the case, can I modify the internal port for PHPCGI?


  • | 78 points

    I had the same issue and got it fixed by editing the laragon\etc\nginx\php_upstream.conf file.

    upstream php_upstream {
    	server weight=1 max_fails=1 fail_timeout=1;
    	#server weight=1 max_fails=1 fail_timeout=1;
    	server weight=1 max_fails=1 fail_timeout=1;

  • | 175 points

    Thanks @pktharindu !

Log in to reply

Looks like your connection to Laragon was lost, please wait while we try to reconnect.