Skip to main content

php-fpm not using php system version

Answered

Comments

8 comments

  • Andrew
    Translate

    In the previous screenshot you shared it shows you have 8.1 installed......

    Andrew N. - cPanel Plesk VMWare Certified Professional
    Do you need immediate assistance? 20 minutes response time!* Open a ticket
    EmergencySupport - Professional Server Management and One-time Services

    1
  • Pietro Leone

    ok thanks !!!!

    1
  • Andrew
    Translate

    Since you have PHP 8.1 also installed PHP-FPM will still run on that version. Do you have any other accounts using PHP 8.1? If then then simply remove 8.1 and voila, problem solved :)

    Andrew N. - cPanel Plesk VMWare Certified Professional
    Do you need immediate assistance? 20 minutes response time!* Open a ticket
    EmergencySupport - Professional Server Management and One-time Services

    0
  • Pietro Leone

    i do not have 8.1 installed, i have only 8.2 

    0
  • cPRex Jurassic Moderator

    That executable is likely for cPanel's internal PHP based on the path.  These could just be nuisance warnings from LFD.

    0
  • Pietro Leone

    I'm not interested in lfd's warnings, I just want to understand why when it reports the path to the executable is wrong php version

     

    # pwd
    /usr/local/cpanel/3rdparty/php/81/sbin
    # ls -al
    total 21560
    drwxr-xr-x 2 root root       21 Jan 30 23:01 .
    drwxr-xr-x 8 root root       77 Jun 28  2023 ..
    -rwxr-xr-x 1 bin  bin  22076312 Jan  5 01:18 php-fpm

     

    i still got 81 in my internal cpanel php ? 

     

    0
  • cPRex Jurassic Moderator

    Correct - cPanel uses PHP 8.1 a this time, with the executable being /usr/local/cpanel/3rdparty/php/81/etc/php.ini.

    0
  • cPRex Jurassic Moderator

    You're welcome!

    0

Please sign in to leave a comment.