(01-27-2021, 12:58 PM)Jettaman Wrote: Hi @[ccr1969],Thanks i keep the sentora part jailed with 5.6 & suhosin. This will change domains version to run different versions of php. using Mod fcgid
I would love to take a look. I’m the new main developer here at Sentora. I have been developing a new module for php version switching for our new Sentora 3.0 with PHP-FPM. Still far from release of course. I would love to see what you have done and check code. You have a few years of development on this code compared to me. I know you said your code is “sloppy” but that doesn’t mean that you aren’t on track to something great and can be updated to be secure/modern code. :-)
The main issue with using a PHP version changer module with Sentora v1.0.3 is Sentora relies on Suhosin for PHP security. Suhosin is only supported up to PHP 5.6. Sentora uses Suhosin to protect you from PHP functions that can hack your full system ( No joke ). If you would like for me to show you and test Sentora on PHP 7+ No problem ( I can access your full system if there is a vulnerability in your code.) Not good.
I love that you support Sentora and are thinking of future code.
its fairly simple i guess . I used the domains code Etc than added to it than added my own hooks to run it write it to were it needs to be like i said sloppy but working .
Let me know your thoughts but don't laugh to hard when you look at it .