php-fpm not using php system version
Answeredhello,
i am using cloudlinux php selector for users . in cpanel multiphp i choosed the default system version 8.2 but lfd send me alerts with wrong executable: (version 8.1 ?!? )
Executable: /usr/local/cpanel/3rdparty/ph
from command line it looks good...
# php -v
PHP 8.2.15 (cli) (built: Jan 25 2024 10:28:38) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.15, Copyright (c) Zend Technologies
i try to restart after changes but no success
what is happening here ? thanks
-
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 Services1 -
ok thanks !!!!
1 -
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 Services0 -
i do not have 8.1 installed, i have only 8.2
0 -
That executable is likely for cPanel's internal PHP based on the path. These could just be nuisance warnings from LFD.
0 -
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-fpmi still got 81 in my internal cpanel php ?
0 -
Correct - cPanel uses PHP 8.1 a this time, with the executable being /usr/local/cpanel/3rdparty/php/81/etc/php.ini.
0 -
You're welcome!
0
Please sign in to leave a comment.
Comments
8 comments