Code: Select all
php -i | grep API
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
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