The first command to run when you SSH into an unfamiliar WordPress site.
wp --infois the fastest orientation command – shows PHP path, WP-CLI version, WordPress root, and config location all at once.wp core check-updatetells you if WordPress itself is outdated before you touch anything- The
wp evalcommands surface the PHP limits that most commonly cause media upload or timeout issues
# Full WordPress and server environment info
wp --info
# WordPress-specific info
wp core version
wp core version --extra
# Check if WordPress needs an update
wp core check-update
# PHP version and key settings
wp eval 'echo PHP_VERSION . "n";'
wp eval 'echo ini_get("memory_limit") . "n";'
wp eval 'echo ini_get("max_execution_time") . "sn";'
wp eval 'echo ini_get("upload_max_filesize") . "n";'
# Active plugin count and list
wp plugin list --status=active --format=count
wp plugin list --status=active --fields=name,version --format=table
Tested on
WordPress 7.1
Reported by the author on October 7, 2026. WPFolks has not verified this.