Learn about Centmin Mod LEMP Stack today
Register Now

Master Branch update php-fpm unix socket path in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Sep 16, 2020 at 8:42 AM.

  1. eva2000

    eva2000 Administrator Staff Member

    45,151
    10,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,919
    Local Time:
    6:53 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    update php-fpm unix socket path in 123.09beta01

    - Centmin Mod uses TCP listener by default for PHP-FPM. However, can optionally support Unix Sockets and the Unix Socket path needs updating from /tmp/php5-fpm.sock to /var/run/php-fpm/php-fpm.sock due to PHP-FPM service on CentOS 7 systems now using systemd and PrivateTmp=true.
    - Unix Sockets are disabled by default so shouldn't be a problem for existing Centmin Mod users. This change for for new 123.09beta01 installs only so as to not overwrite existing users configurations. If existing users want to update, the relevant files are in /usr/local/etc/php-fpm.conf and /usr/local/nginx/conf/php.conf (and any copies of /usr/local/nginx/conf/php.conf you manually made)

    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.