PHP: Unterschied zwischen den Versionen

Aus wiki.frank-wulf.de
Zur Navigation springen Zur Suche springen
Die Seite wurde neu angelegt: „-Extensions php8.1-mysql php8.1-mbstring php8.1-xml php8.1-curl php8.1-gd php8.1-apcu php8.1-zip php8.1-intl php8.1-imagick php8.1-bcmath php8.1-gmp php8.1-redis“
 
Keine Bearbeitungszusammenfassung
 
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
-Extensions
'''Actual version running is PHP 8.1'''<br>
php8.1-mysql
There is also PHP 8.2 installed but not activated because Zoneminder seems to have issues with PHP 8.2.<br><br>
php8.1-mbstring
==== PHP Extensions to be installed ====
php8.1-xml
*mysql
php8.1-curl
*mbstring
php8.1-gd
*xml
php8.1-apcu
*curl
php8.1-zip
*gd
php8.1-intl
*apcu
php8.1-imagick
*zip
php8.1-bcmath
*intl
php8.1-gmp
*imagick
php8.1-redis
*bcmath
*gmp
*redis
 
<syntaxhighlight lang="bash">
apt install php8.2-mysql php8.2-mbstring php8.2-xml php8.2-curl php8.2-gd php8.2-apcu php8.2-zip php8.2-intl php8.2-imagick php8.2-bcmath php8.2-gmp php8.2-redis
</syntaxhighlight>
<br>
 
===== Switch PHP version on command line =====
<syntaxhighlight lang="bash">
update-alternatives --config php
</syntaxhighlight>

Aktuelle Version vom 29. Juli 2023, 11:53 Uhr

Actual version running is PHP 8.1
There is also PHP 8.2 installed but not activated because Zoneminder seems to have issues with PHP 8.2.

PHP Extensions to be installed

  • mysql
  • mbstring
  • xml
  • curl
  • gd
  • apcu
  • zip
  • intl
  • imagick
  • bcmath
  • gmp
  • redis
apt install php8.2-mysql php8.2-mbstring php8.2-xml php8.2-curl php8.2-gd php8.2-apcu php8.2-zip php8.2-intl php8.2-imagick php8.2-bcmath php8.2-gmp php8.2-redis


Switch PHP version on command line
update-alternatives --config php