PHP: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Wulf (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Wulf (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
'''Actual version running is PHP 8.1'''<br> | |||
There is also PHP 8.2 installed but not activated because Zoneminder seems to have issues with PHP 8.2.<br><br> | |||
==== PHP Extensions to be installed ==== | |||
*mysql | *mysql | ||
*mbstring | *mbstring | ||
| Zeile 18: | Zeile 19: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==Switch PHP version on command line | ===== Switch PHP version on command line ===== | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
update-alternatives --config php | update-alternatives --config php | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Version vom 29. Juli 2023, 11:52 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