Control Web Panel
WebPanel => PHP Selector => Topic started 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 :
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
-
hi you need to delete the php then install it again it seems something wrong with your service file.
-
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.
-
A shot in the dark here: If you have done modifications to apache, rebuild it and see if it helps
-
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.