Panel: Update PHP socket in the webserver configuration

Created on 4 Feb 2018  路  1Comment  路  Source: pterodactyl/panel

  • Panel or Daemon: Panel
  • Version of Panel/Daemon: v0.7 RC
  • Server's OS: Ubuntu
  • Your Computer's OS & Browser: Not relevant

Add Details Below:

In the documentation PHP 7.2 gets installed. However in the nginx webserver configuration the php 7.1 socket still gets used, resulting in a 502 bad gateway error.

Fix

Change fastcgi_pass unix:/var/run/php/php7.1-fpm.sock; to fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;

Most helpful comment

Done, thanks

>All comments

Done, thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JanDevDE picture JanDevDE  路  4Comments

msharp19 picture msharp19  路  4Comments

dennorske picture dennorske  路  4Comments

CoolJWB picture CoolJWB  路  4Comments

jer3m01 picture jer3m01  路  3Comments