Php-fpm error after update

I run my home server under RL8, php-fpm-8.2.19-1.el9.remi.x86_64, httpd-2.4.57-8.el9.x86_64

After an update my webswerver is broken. Both services (php-fpm and httpd) are up and running. Still, I get he following error

Sun Jun 02 11:07:52.499872 2024] [proxy:error] [pid 1840:tid 1889] (111)Connection refused: AH02454: FCGI: attempt to connect to Unix domain socket /var/opt/remi/php82/run/php-fpm/www.sock (*:80) failed
[Sun Jun 02 11:07:52.499901 2024] [proxy_fcgi:error] [pid 1840:tid 1889] [remote 10.5.2.104:51956] AH01079: failed to make connection to backend: httpd-UDS

I checked google, and it appears it is linked to permission.s
The file /var/opt/remi/php82/run/php-fpm/www.sock doies not exist.
I created it ti touch and changed ownership to apache:apache. Still not working.
What am I missing?

Thanks, Wolfgang

It looks like you have various PHP version installed

  • php-fpm uses /var/run/php-fpm/www.sock
  • php82-php-fpm uses /var/opt/remi/php82/run/php-fpm/www.sock

Read the FAQ: English : FAQ - Remi's RPM repository - Blog

For a proper repository configuration and usage, see the Wizard: Remi's RPM repository

Please, list installed PHP packages:

rpm -qa php\*

1 Like

Hello remi,

these are all the packages it shows.
what tests can I run to make sure it is “safe” to delete php82* version?

php82-runtime-8.2-5.el9.remi.x86_64
php82-php-pecl-msgpack-2.2.0-1.el9.remi.x86_64
php-fedora-autoloader-1.0.1-7.el9.noarch
php82-php-pecl-imagick-im7-3.7.0-7.el9.remi.x86_64
php82-php-pecl-redis5-5.3.7-2.el9.remi.x86_64
php82-8.2-5.el9.remi.x86_64
php82-php-pecl-apcu-5.1.23-1.el9.remi.x86_64
php82-php-pecl-zip-1.22.3-1.el9.remi.x86_64
php82-php-pecl-igbinary-3.2.15-1.el9.remi.x86_64
php-nikic-php-parser4-4.18.0-1.el9.noarch
php-pecl-imagick-im7-3.7.0-7.el9.remi.8.2.x86_64
php-pecl-mysql-1.0.0-0.25.20210423.ca514c4.el9.remi.8.2.x86_64
php-pecl-zip-1.22.3-1.el9.remi.8.2.x86_64
php82-php-pear-1.10.15-2.el9.remi.noarch
php82-php-common-8.2.19-1.el9.remi.x86_64
php-common-8.2.19-1.el9.remi.x86_64
php82-php-cli-8.2.19-1.el9.remi.x86_64
php82-php-pdo-8.2.19-1.el9.remi.x86_64
php-pdo-8.2.19-1.el9.remi.x86_64
php82-php-fpm-8.2.19-1.el9.remi.x86_64
php82-php-mbstring-8.2.19-1.el9.remi.x86_64
php82-php-opcache-8.2.19-1.el9.remi.x86_64
php82-php-sodium-8.2.19-1.el9.remi.x86_64
php82-php-xml-8.2.19-1.el9.remi.x86_64
php82-php-8.2.19-1.el9.remi.x86_64
php-mysqlnd-8.2.19-1.el9.remi.x86_64
php82-php-mysqlnd-8.2.19-1.el9.remi.x86_64
php82-php-devel-8.2.19-1.el9.remi.x86_64
php-cli-8.2.19-1.el9.remi.x86_64
php-fpm-8.2.19-1.el9.remi.x86_64
php-gd-8.2.19-1.el9.remi.x86_64
php-mbstring-8.2.19-1.el9.remi.x86_64
php-process-8.2.19-1.el9.remi.x86_64
php-soap-8.2.19-1.el9.remi.x86_64
php-xml-8.2.19-1.el9.remi.x86_64
php82-php-bcmath-8.2.19-1.el9.remi.x86_64
php82-php-gd-8.2.19-1.el9.remi.x86_64
php82-php-gmp-8.2.19-1.el9.remi.x86_64
php82-php-imap-8.2.19-1.el9.remi.x86_64
php82-php-intl-8.2.19-1.el9.remi.x86_64
php82-php-ldap-8.2.19-1.el9.remi.x86_64
php82-php-process-8.2.19-1.el9.remi.x86_64
php82-php-soap-8.2.19-1.el9.remi.x86_64

Thanks for helping

Wolfgang

At least check available extensions in each stack by comparing output of

php --modules
php82 --modules

Running php-82 --modules gives an error message and does not list modules
Mon Jun 3 13:16:33 2024 (456950): Fatal Error Insufficient shared memory for interned strings buffer! (tried to allocate 232784080 bytes)

Can I assume php82 is inactive and I can simply delete?

These are the modules of php

[PHP Modules] |

  • |
    bz2 |
    calendar |
    Core |
    ctype |
    curl |
    date |
    dom |
    exif |
    fileinfo |
    filter |
    ftp |
    gd |
    gettext |
    hash |
    iconv |
    json |
    libxml |
    mbstring |
    mysql |
    mysqli |
    mysqlnd |
    openssl |
    pcntl |
    pcre |
    PDO |
    pdo_mysql |
    pdo_sqlite |
    Phar |
    posix |
    random |
    readline |
    Reflection |
    session |
    shmop |
    SimpleXML |
    soap |
    sockets |
    SPL |
    sqlite3 |
    standard |
    sysvmsg |
    sysvsem |
    sysvshm |
    tokenizer |
    xml |
    xmlreader |
    xmlwriter |
    xsl |
    zip |
    zlib |

I will run dnf php list and dnf php82 list and make sure same programs are installed.

Wolfgang

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.