Author Topic: 7.4 Error Unknown lvalue  (Read 4890 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
7.4 Error Unknown lvalue
« on: August 23, 2021, 02:59:18 PM »
Hello im trying to use PHP-FPM 7.4.22 and i have this error :

Code: [Select]
Aug 23 04:52:32 srv1.kathst.cf systemd[1]: [/usr/lib/systemd/system/php-fpm74.service:44] Unknown lvalue 'ProtectControlGroups' in section 'Service'
Aug 23 04:52:32 srv1.kathst.cf systemd[1]: [/usr/lib/systemd/system/php-fpm74.service:47] Unknown lvalue 'RestrictRealtime' in section 'Service'
Aug 23 04:52:32 srv1.kathst.cf systemd[1]: [/usr/lib/systemd/system/php-fpm74.service:54] Unknown lvalue 'RestrictNamespaces' in section 'Service'
Aug 23 04:52:32 srv1.kathst.cf systemd[1]: [/usr/lib/systemd/system/php-fpm74.service:31] Unknown lvalue 'ProtectKernelModules' in section 'Service'
Aug 23 04:52:32 srv1.kathst.cf systemd[1]: [/usr/lib/systemd/system/php-fpm74.service:38] Unknown lvalue 'ProtectKernelTunables' in section 'Service'
Aug 23 04:52:32 srv1.kathst.cf systemd[1]: [/usr/lib/systemd/system/php-fpm74.service:44] Unknown lvalue 'ProtectControlGroups' in section 'Service'
Aug 23 04:52:32 srv1.kathst.cf systemd[1]: [/usr/lib/systemd/system/php-fpm74.service:47] Unknown lvalue 'RestrictRealtime' in section 'Service'
Aug 23 04:52:32 srv1.kathst.cf systemd[1]: [/usr/lib/systemd/system/php-fpm74.service:54] Unknown lvalue 'RestrictNamespaces' in section 'Service'

im using CWP Pro latest version, win Centos 7

Offline
*****
Re: 7.4 Error Unknown lvalue
« Reply #1 on: August 26, 2021, 12:17:14 PM »
hi you need to delete the php then install it again it seems something wrong with your service file.

Offline
*
Re: 7.4 Error Unknown lvalue
« Reply #2 on: January 21, 2022, 09:52:55 AM »
Everything you said has been done. But after 1 day I see this warning again.
on root;

/bin/systemctl restart php-fpm74.service

Once run, this warning disappears.
When I examined a few of the warnings, I saw that they were for security purposes. I insist this may be related to your "CWP Secure Kernel" routines. Please inspect. Many people have this problem, I saw it on the forum too.

Offline
***
Re: 7.4 Error Unknown lvalue
« Reply #3 on: January 21, 2022, 02:02:12 PM »
A shot in the dark here: If you have done modifications to apache, rebuild it and see if it helps

Offline
*
Re: 7.4 Error Unknown lvalue
« Reply #4 on: January 21, 2022, 02:15:36 PM »

When I examined a few of the warnings, I saw that they were for security purposes. I insist this may be related to your "CWP Secure Kernel" routines. Please inspect. Many people have this problem, I saw it on the forum too.

if you have cwp kernel then you also have cwp support so you would need to use support tickets as cwp secure kernel has updates and works only if you have a support subscription.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.