PHP Redis -Modul und PHP -Kompilierung Mismatch CompilePhp

PHP-Programmierer chatten hier
Anonymous
 PHP Redis -Modul und PHP -Kompilierung Mismatch Compile

Post by Anonymous »

Ich versuche, PHP-Redis über Pecl zu installieren.

Code: Select all

php -i | grep API
Gibt Folgendes an: PHP API => 20220829
I Führen Sie dann die Pecl -Installation von Redis aus und ich erhalte die Nachricht:

Code: Select all

...
running: phpize
Configuring for:
PHP Api Version:         20220829
Zend Module Api No:      20220829
Zend Extension Api No:   420220829
...
Build process completed successfully
Installing '/usr/lib/php/20230831/redis.so'
install ok: channel://pecl.php.net/redis-6.0.2
Extension redis enabled in php.ini
< /code>
Wie Sie sehen können, gibt es ein Missverhältnis zwischen den APIs. Grep Redis 
, ich erhalte diese Fehlermeldung:

Code: Select all

PHP Warning:  PHP Startup: redis: Unable to initialize module
Module compiled with module API=20230831
PHP    compiled with module API=20220829
These options need to match
in Unknown on line 0
Ich bin auf Php8.2, also ist API 20220829 korrekt.>

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post