Upgrade php version from 7.4 to 8.1

General discussions around KeyHelp.
Post Reply
User avatar
boka003
Posts: 48
Joined: Fri 7. Jan 2022, 10:17

Upgrade php version from 7.4 to 8.1

Post by boka003 »

Hello there,


How can I upgrade PHP version from 7.4 to 8.1 at KeyHelp 23.0 with Ubuntu 20.04.6 LTS?
I need it on this website; https://webinfo.me/update

Regards
User avatar
Alexander
Keyweb AG
Posts: 3833
Joined: Wed 20. Jan 2016, 02:23

Re: Upgrade php version from 7.4 to 8.1

Post by Alexander »

Hello,

1) Install the PHP Interpreter: Configuration -> PHP-Interpreters

2) Switch the PHP Interpreter for the Domain: Domains -> Edit Domain -> PHP-Interpreter
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
boka003
Posts: 48
Joined: Fri 7. Jan 2022, 10:17

Re: Upgrade php version from 7.4 to 8.1

Post by boka003 »

Hello,

Sorry i forgot to say that server use amd64: https://prnt.sc/-XpML29E4n57

I will need to set 8.1 as the default PHP version.
So, I have installed PHP 8.1 direct on the server, but it is not showing inside key help.
User avatar
Alexander
Keyweb AG
Posts: 3833
Joined: Wed 20. Jan 2016, 02:23

Re: Upgrade php version from 7.4 to 8.1

Post by Alexander »

amd64
amd64 or arm64?

Sorry i forgot to say that server use amd64: https://prnt.sc/-XpML29E4n57
How did you install those PHP versions?

So, I have installed PHP 8.1 direct on the server, but it is not showing inside key help.
How did you do that?


By the way you can also upgrade to Ubuntu 22 and will have PHP 8.1 by default.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
boka003
Posts: 48
Joined: Fri 7. Jan 2022, 10:17

Re: Upgrade php version from 7.4 to 8.1

Post by boka003 »

Sorry, it is arm64.

How did you install those PHP versions?
I have installed 8.1 using this tutorial: https://medium.com/@laraveltuts/how-to- ... 18e7565c41
By the way you can also upgrade to Ubuntu 22 and will have PHP 8.1 by default.
With the upgrade, we will not use any data ?
I can see that Oracle support 22.04 https://forums.oracle.com/ords/apexds/p ... 4-lts-6896



Regards
User avatar
boka003
Posts: 48
Joined: Fri 7. Jan 2022, 10:17

Re: Upgrade php version from 7.4 to 8.1

Post by boka003 »

Code: Select all


ubuntu@ch1:~$ php -v
PHP 8.2.4 (cli) (built: Mar 16 2023 14:34:24) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.4, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.4, Copyright (c), by Zend Technologies
ubuntu@ch1:~$ 
https://prnt.sc/0huGXpS2Ax2U



Here is the difference between server and key help.
How can I update keyhelp too?
User avatar
Florian
Keyweb AG
Posts: 1258
Joined: Wed 20. Jan 2016, 02:28

Re: Upgrade php version from 7.4 to 8.1

Post by Florian »

Hello,

please explain in detail what yo have done. Did you do a dist upgrade?

Most important thing: You must not !!!!! change the default PHP version of the OS
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
Alexander
Keyweb AG
Posts: 3833
Joined: Wed 20. Jan 2016, 02:23

Re: Upgrade php version from 7.4 to 8.1

Post by Alexander »

boka003 wrote: Thu 6. Apr 2023, 10:31 Sorry, it is arm64.
The additional PHP interpreters provided by KeyHelp do not support arm64 systems.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Post Reply