• Dein Produkt auf beyond.lol
  • Kontakt
  • Kontakt
  • IP
  • Impressum
  • Datenschutz
  • Software
    • Open Source
  • Hardware
  • Tutorials
    • Web
    • Linux
    • Windows
    • Gaming
    • PHP
    • Raspberry Pi
  • Crypto-Welt
    • Altcoins
    • Bitcoin
    • Ethereum
    • Mining
  • Scripts
    • BASH
    • PowerShell
  • Lustiges aus der IT
    • Spamantworten
  • Gaming
  • and More
    • Dein Produkt auf beyond.lol
    • Kontakt
    • Impressum
    • Datenschutz
    • Tools
      • Wie ist meine IP?
No Result
View All Result
  • Software
    • Open Source
  • Hardware
  • Tutorials
    • Web
    • Linux
    • Windows
    • Gaming
    • PHP
    • Raspberry Pi
  • Crypto-Welt
    • Altcoins
    • Bitcoin
    • Ethereum
    • Mining
  • Scripts
    • BASH
    • PowerShell
  • Lustiges aus der IT
    • Spamantworten
  • Gaming
  • and More
    • Dein Produkt auf beyond.lol
    • Kontakt
    • Impressum
    • Datenschutz
    • Tools
      • Wie ist meine IP?
No Result
View All Result
No Result
View All Result
Home Tutorials Linux

Installieren von PHP 7.4 auf Ubuntu 20.04 LTS / 18.04 LTS / 16.04 LTS

Patrick by Patrick
August 11, 2020
in Linux, Tutorials
134
0
Installieren von PHP 7.4 auf Ubuntu 20.04 LTS / 18.04 LTS / 16.04 LTS
13
SHARES
1.3k
VIEWS
Auf Facebook teilenAuf Twitter teilenAuf Whatsapp teilen

Ubuntu 20.04 LTS wird mit PHP 7.4 ausgeliefert. Wer auf die Version 7.4 benutzen möchte, muss hier also nichts mehr unternehmen. Wer noch eine ältere Version von Ubunu verwendet, muss diese aber nicht nur wegen der PHP Version upgraden. Mit den entsprechenden Repository gelingt dies in wenigen Minuten und ist kein Hexenwerk.

Eine Ähnliche Anleitung haben wir bereits für ISPConfig geschrieben. Hier zum Artikel.

Ubuntu 20.04

Ubuntu 20.04 wird bereits mit PHP 7.4 ausgeliefert beziehungsweise kann über apt installiert werden.

sudo apt update
sudo apt install php php-cli php-fpm php-json php-pdo php-mysql php-zip php-gd  php-mbstring php-curl php-xml php-pear php-bcmath

Tipp mit php -v wird euch die Version angezeigt.

Ubuntu 18.04 oder 16.04

Ihr habt zwei Möglichkeiten. PHP selber kompilieren – was sehr lange dauert und euch am Ende gar nichts gebracht hat. Hierbei müsst ihr jede neue Version selber wieder kompilieren.

Oder Ihr nehmt das Repository von ondrej

1. Repository hinzufügen

sudo apt-get update
sudo apt -y install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update

2. PHP installieren

sudo apt install -y php7.4

Solltet Ihr noch mehr Module benötigen, könnt Ihr diese auch mit apt installieren

apt install php7.4 php7.4-cli php7.4-cgi php7.4-fpm php7.4-gd php7.4-mysql php7.4-imap php7.4-curl php7.4-intl php7.4-pspell php7.4-sqlite3 php7.4-tidy php7.4-xmlrpc php7.4-xsl php7.4-zip php7.4-mbstring php7.4-soap php7.4-opcache libonig5 php7.4-common php7.4-json php7.4-readline php7.4-xml

Für die meisten müsste FPM noch wichtig sein.

apt install php7.4-fpm
Tags: ISPConfigphp 7.4php 7.4 ubuntu intallierenphp installierenubuntu 16ubuntu 18ubuntu 20ubuntu lts phpubuntu php installieren
Previous Post

Ubuntu auf Windows 10 installieren mit WSL (Windows subsystem Linux)

Next Post

Minecraft Server auf Ubuntu 20.04 LTS installieren

Patrick

Patrick

IT Systemadministrator

Next Post
Minecraft Server auf Ubuntu 20.04 LTS installieren

Minecraft Server auf Ubuntu 20.04 LTS installieren

Schreibe einen Kommentar Antwort abbrechen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Bloggerei.de - Bewertung für beyond.lol
  • Dein Produkt auf beyond.lol
  • Kontakt
  • Kontakt
  • IP
  • Impressum
  • Datenschutz

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Add New Playlist

No Result
View All Result
  • Software
    • Open Source
  • Hardware
  • Tutorials
    • Web
    • Linux
    • Windows
    • Gaming
    • PHP
    • Raspberry Pi
  • Crypto-Welt
    • Altcoins
    • Bitcoin
    • Ethereum
    • Mining
  • Scripts
    • BASH
    • PowerShell
  • Lustiges aus der IT
    • Spamantworten
  • Gaming
  • and More
    • Dein Produkt auf beyond.lol
    • Kontakt
    • Impressum
    • Datenschutz
    • Tools
      • Wie ist meine IP?

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.