Sentora Support Forums
How to upgrade php and mysql version? - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: Upgrade Support v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=40)
+---- Thread: How to upgrade php and mysql version? (/showthread.php?tid=12085)



How to upgrade php and mysql version? - davidlambda - 03-03-2020

Hi,

I need to upgrade the php and mysql version of my ubuntu server, how could I do it? I can't find the official way to update both versions and I have to update it, since I have these versions:
- PHP Version: 5.5.9-1ubuntu4.22
- MySQL Version: 5.5.59-0ubuntu0.14.04.1

I need to update php to version 7.3 or higher and mysql version 5.6 or higher.


RE: How to upgrade php and mysql version? - Jettaman - 03-03-2020

Hello,
    Currently, there is no official way to upgrade Sentora to PHP 7.3. Sentora hasn't had an update in 5 years and doesn't seem like we will see an update for a while. The Sentora community has been trying to help the Sentora team with upgrading Sentora for some time now with no progress from the original Sentora team. 

Currently, I am the only one that has a secure option to get Sentora to PHP 7.3. It is STABLE, SECURE and fully functional. You can follow this thread for information and updates.

This is currently a BETA version for TESTING ONLY. Hoping to release it soon.

Thread Here -> http://forums.sentora.org/showthread.php?tid=11588
GITHUB -> https://github.com/Dukecitysolutions/sentora-php7-upgrade


RE: How to upgrade php and mysql version? - davidlambda - 03-04-2020

(03-03-2020, 03:16 AM)Jettaman Wrote: Hello,
    Currently, there is no official way to upgrade Sentora to PHP 7.3. Sentora hasn't had an update in 5 years and doesn't seem like we will see an update for a while. The Sentora community has been trying to help the Sentora team with upgrading Sentora for some time now with no progress from the original Sentora team. 

Currently, I am the only one that has a secure option to get Sentora to PHP 7.3. It is STABLE, SECURE and fully functional. You can follow this thread for information and updates.

This is currently a BETA version for TESTING ONLY. Hoping to release it soon.

Thread Here -> http://forums.sentora.org/showthread.php?tid=11588
GITHUB -> https://github.com/Dukecitysolutions/sentora-php7-upgrade

I just installed version 7.3 of php. Thank you very much.

Now I can't access my sentora panel, when I access it, a strange file is automatically downloaded... 
Why can't I access it by updating the php version?


RE: How to upgrade php and mysql version? - Jettaman - 03-05-2020

(03-04-2020, 07:35 PM)davidlambda Wrote: I just installed version 7.3 of php. Thank you very much.

Now I can't access my sentora panel, when I access it, a strange file is automatically downloaded... 
Why can't I access it by updating the php version?


If you used my Sentora PHP 7 upgrade script then,

It sounds like you didn't let install finish and restart before you tried to access your Sentora system. This is a common issue with your browser caching the incomplete site. Just clear your cache in your browser. Close the browser then open and try again. This should fix your issue.

As for just upgrading PHP 5.4 to 7.3 in Sentora without upgrading Sentora panel. You CANT. Sentora relies on a PHP protection system called Suhosin. Suhosin Disables dangerous PHP Functions in PHP 5.4. Suhosin Is not compatible with PHP 7.x. That's why I have redesigned Sentora to use Snuffleupagus. Snuffleupagus is like Suhosin and disables dangerous PHP functions like Suhosin. Vhosts or sites are not jailed or chroot' ed in Sentora. That's why we need to disable dangerous PHP functions, so if one of your sites gets hacked they cant destroy the rest of the server.

Let me know if you need help getting your server up and working. You can always email me if you need help here.


RE: How to upgrade php and mysql version? - davidlambda - 03-11-2020

Thank you very much Jettaman!