Code: Select all
PHP 8.0.30 (cli) (built: Sep 2 2023 08:05:13) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.30, Copyright (c) Zend Technologies
with Zend OPcache v8.0.30, Copyright (c), by Zend Technologies
with Xdebug v3.4.1, Copyright (c) 2002-2025, by Derick Rethans
< /code>
Beim Laden von Erweiterungen wird der Pfad verwendet: < /p>
/usr/lib/php/20200930/
< /code>
Jetzt habe ich Runkit7 über: < /p>
installiertpecl install runkit7-4.0.0a6
platziert
Code: Select all
/usr/lib/php/20230831/runkit7.so
Code: Select all
PHP Warning: PHP Startup: runkit7: Unable to initialize module
Module compiled with module API=20230831
PHP compiled with module API=20200930
These options need to match
in Unknown on line 0
< /code>
Wie installiere ich die PECL -Erweiterung für meine Modulversion?$ sudo update-alternatives --list php
/usr/bin/php7.4
/usr/bin/php8.0
/usr/bin/php8.1
/usr/bin/php8.2
/usr/bin/php8.3
Der Server hat:
Code: Select all
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy