Skip to content
Discussion options

You must be logged in to vote

The system php on PATH is often a minimal CLI build without mysqli/mysqlnd, so any WP-CLI command that touches the DB dies. The web stack uses a different, fully-loaded PHP managed by the panel — invoke wp with that one, e.g. /opt/plesk/php/8.3/bin/php /usr/local/bin/wp --path=/path/to/wp. Verify with php -m | grep mysqli on each binary.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Kevinchamplin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant