Sentora Support Forums

Full Version: PHP 7 upgrade
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I would like to know, if someone upgrades to PHP 7.x without any security module like suhosin (which is dead unfortunately), what security vulnerabilities would it open? 
I know that VestaCP doesn't use any of these security modules, but still it is pretty secure.
The php7 version is using Snuffalupagas as a replacement for suhosin. It is not yet released and still in pre-alpha testing.
how to disable logs: HP Warning: [snuffleupagus][0.0.0.0][End-of-Life Check][log] Your PHP version '7.4.33' is not officially maintained anymore, see https://www.php. net/supported-versions.php for details. Please upgrade as soon as possible.
(04-18-2024, 06:46 AM)TeccHost Wrote: [ -> ]how to disable logs: HP Warning: [snuffleupagus][0.0.0.0][End-of-Life Check][log] Your PHP version '7.4.33' is not officially maintained anymore, see https://www.php. net/supported-versions.php for details. Please upgrade as soon as possible.

Not sure, I did it once about a year ago, and can't figure out how I did it! We are working on it. Also, Sentora w/PHP8 will hopefully be right around the corner. Testing and doing security checks now.
Go to  /etc/sentora/configs/php/sp/sentora.rules . Also In /etc/sentora/configs/php/sp/cron.rules

Add Below this line in  sentora.rules , Easy Peasy.
#### Sentora Default snuffleupagus rules - DO NOT EDIT/DELETE ABOVE
sp.global.show_old_php_warning.disable();    

In cron.rules under last line add
sp.global.show_old_php_warning.disable();



Restart Apache2 = sudo service apache2 restart
After a quick review. Make changes updates as posted above . I made a small error but this will fix the issues of the error in logs. wont be over written.