Direkt zum Hauptinhalt

PHP 8.2 Installation

Beschreibung

Installation php 8.0 und einfügen in ISPConfig

Installation

PHP 8.02 installieren

apt -y install php8.02 php8.0-2-cli php8.0-2-cgi php8.0-2-fpm php8.0-2-gd php8.0-2-mysql php8.0-2-imap php8.0-2-curl php8.0-2-intl php8.0-2-pspell php8.0-2-sqlite3 php8.0-2-tidy php8.0-2-xsl php8.0-2-zip php8.0-2-mbstring php8.0-2-soap php8.0-2-opcache php8.0-2-common php8.0-2-readline php8.0-2-xml php8.0-2-curl php8.0-2-imagick php8.0-2-bcmath 

Danach erstmal die Ursprüngliche Version als default festlegen

update-alternatives --config php
update-alternatives --config php-cgi

nun wählen:

Ausgabe:

  Auswahl      Pfad             Priorität Status
------------------------------------------------------------
* 0            /usr/bin/php8.2   82        automatischer Modus
  1            /usr/bin/php7.3   73        manueller Modus
  2            /usr/bin/php7.4   74        manueller Modus
  3            /usr/bin/php8.2   82        manueller Modus


Einfügen neuer Config

Unter System -> Zusätliche PHP Versionen

Screenshot 2023-09-04 at 13-01-46 ISPConfig.png

Dann auf PHP Version hinzufügen

Screenshot 2023-09-04 at 13-04-04 ISPConfig.png

Diese Werte eintragen

Server: <Server> (unseren Server auswählen)
Kunde: leer
PHP-Name: PHP 8.02
Aktiv: Ja

Screenshot 2023-09-04 at 13-33-35 ISPConfig.pngScreenshot 2023-09-04 at 13-39-19 ISPConfig.png

Nun auf den Registerreiter FastCGI gehen

Pfad zum PHP FastCGI Binary: php8.0-2-cgi 
Pfad zum php.ini Verzeichnis  /etc/php/8.0/2/cgi/php.ini 


Screenshot 2023-09-04 at 13-34-31 ISPConfig.pngScreenshot 2023-09-04 at 13-39-57 ISPConfig.png

Nun auf den Register PHP-FPM Einstellungen

Pfad zum PHP-FPM Init Script: php8.0-2-fpm
Pfad zum php.ini Verzeichnis: /etc/php/8.0/2/fpm/php.ini
Pfad zum PHP-FPM Pool Verzeichnis: /etc/php/8.0/2/fpm/pool.d

Screenshot 2023-09-04 at 13-35-42 ISPConfig.pngScreenshot 2023-09-04 at 13-40-59 ISPConfig.png

Nun auf Speichern klicken