Control Web Panel

WebPanel => PHP Selector => Topic started by: KatiaSisHost on August 23, 2021, 02:59:18 PM

Title: 7.4 Error Unknown lvalue
Post by: KatiaSisHost 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
Title: Re: 7.4 Error Unknown lvalue
Post by: Sandeep 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.
Title: Re: 7.4 Error Unknown lvalue
Post by: detay 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.
Title: Re: 7.4 Error Unknown lvalue
Post by: iraqiboy90 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
Title: Re: 7.4 Error Unknown lvalue
Post by: studio4host 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.