wp-cli / admin-command

Open /wp-admin/ in a browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Command returning error

zzap opened this issue · comments

Bug Report

Describe the current, buggy behavior
Running wp admin command return error in console.

Error: Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
Please check that the `mysqli` PHP extension is installed and enabled.
If you are unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress support forums. Your PHP installation appears to be missing the MySQL extension which is required by WordPress.

Run on 2.7.1 and 2.9.0

OS:     Linux 5.4.0-167-generic #184-Ubuntu SMP Tue Oct 31 09:21:49 UTC 2023 x86_64
Shell:  /bin/bash
PHP binary:     /usr/bin/php8.3
PHP version:    8.3.0
php.ini used:   /etc/php/8.3/cli/php.ini
MySQL binary:   /usr/bin/mysql
MySQL version:  mysql  Ver 8.0.35-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu))
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:       /home/milana/www/wpcli.loc
WP-CLI packages dir:    /home/milana/.wp-cli/packages/
WP-CLI cache dir:       /home/milana/.wp-cli/cache
WP-CLI global config:   /home/milana/.wp-cli/config.yml
WP-CLI project config:
WP-CLI version: 2.9.0

This is most likely problem in my system. Issue can be closed and I'll deal with it.