Easy Hosting Control Panel (EHCP) :: Force Edition

Specific OS Issues => Ubuntu => Topic started by: spicer on April 28, 2020, 12:36:41 pm

Title: Upgrade from 18.04 to 20.04
Post by: spicer on April 28, 2020, 12:36:41 pm
Hello
Is EHCP force ready for Ubuntu 20.04 or should I still wait?
Title: Re: Upgrade from 18.04 to 20.04
Post by: earnolmartin on May 04, 2020, 02:51:20 pm
It's supposed to work with Ubuntu 20.04 with the latest release.  Please let me know if you run into any problems.
Title: Re: Upgrade from 18.04 to 20.04
Post by: spicer on May 06, 2020, 07:15:09 pm
When I upgrade from php7.2 to php7.4, Xenforo 2.1.9 still shows me php7.2.
Is this a configuration of EHCP or Xenforo?

If I remove php7.2, the server stops running.
503 service unavailable.

This is probably the reason why Xenforo no longer runs after an upgrade to Ubuntu 20.04 (?).
Title: Re: Upgrade from 18.04 to 20.04
Post by: earnolmartin on May 06, 2020, 09:20:08 pm
Ubuntu 20.04 appears to ship with two installable versions of PHP.  It is recommended you let the panel software configure the correct version to use...
Title: Re: Upgrade from 18.04 to 20.04
Post by: spicer on May 06, 2020, 09:24:36 pm
I upgrade with this tutorial: https://www.cyberciti.biz/faq/upgrade-ubuntu-18-04-to-20-04-lts-using-command-line/
I can not select the php version .....

Should I try the "The Debian Way" ? https://linuxconfig.org/how-to-upgrade-ubuntu-to-20-04-lts-focal-fossa
Title: Re: Upgrade from 18.04 to 20.04
Post by: earnolmartin on May 13, 2020, 09:57:58 am
No, you should use PHP 7.4
Title: Re: Upgrade from 18.04 to 20.04
Post by: spicer on May 13, 2020, 10:05:37 am
Ok, then should I use "the debian way" because php7.4 is automatically installed with the first link...?
Title: Re: Upgrade from 18.04 to 20.04
Post by: earnolmartin on May 13, 2020, 02:55:04 pm
Actually, in your case, I'm not sure.  It looks like everything is configured to use PHP 7.4.x by default on a fresh installation.  I would not change what was installed, but since you upgraded to 20.04 from 18.04, what happens if you remove PHP 7.2.x and install / reinstall / reconfigure PHP 7.4.x?  What webserver mode are you using?  Be sure to install php-fpm package for your version of php.  Maybe uninstall and purge all PHP 7.2 packages before installing all of the PHP 7.4 packages?