hi,
i have an issue when install WP-CLI where i follow from this site
https://www.digitalocean.com/community/tutorials/how-to-use-wp-cli-v2-to-manage-your-wordpress-site-from-the-command-line
in step 2 - php wp-cli.phar --info
before that im using Os
Operating System: Oracle Linux Server 8.5
CPE OS Name: cpe:/o:oracle:linux:8:5:server
Kernel: Linux 5.4.17-2136.304.4.2.el8uek.aarch64
Architecture: arm64
error on php wp-cli
php wp-cli.phar --info
Failed loading /www/server/php/80/lib/php/extensions/no-debug-non-zts-20200930/opcache.so: /www/server/php/80/lib/php/extensions/no-debug-non-zts-20200930/opcache.so: undefined symbol: zend_system_id
PHP Warning: PHP Startup: exif: Unable to initialize module
Module compiled with module API=20200930
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/imagick.so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/imagick.so: cannot open shared object file: No such file or directory), /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: apcu: Unable to initialize module
Module compiled with module API=20200930
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so: cannot open shared object file: No such file or directory), /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so.so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: redis: Unable to initialize module
Module compiled with module API=20200930
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'memcached.so' (tried: /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/memcached.so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/memcached.so: cannot open shared object file: No such file or directory), /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/memcached.so.so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/memcached.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: fileinfo: Unable to initialize module
Module compiled with module API=20200930
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: calendar: Unable to initialize module
Module compiled with module API=20200930
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
OS: Linux 5.4.17-2136.304.4.5.el8uek.aarch64 #2 SMP Wed Mar 9 15:15:22 PST 2022 aarch64
Shell: /bin/bash
PHP binary: /www/server/php/74/bin/php
PHP version: 7.4.28
php.ini used: /www/server/php/80/etc/php-cli.ini
MySQL binary: /bin/mysql
MySQL version: mysql Ver 8.0.22 for Linux on aarch64 (Source distribution)
SQL modes:
WP-CLI root dir: phar://wp-cli.phar/vendor/wp-cli/wp-cli
WP-CLI vendor dir: phar://wp-cli.phar/vendor
WP_CLI phar path: /root
WP-CLI packages dir:
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 2.6.0
how to fix them ?