• There’s nothing to be output.
    wp –info, wp core version is working.

    The terminal outputs as below:

    PHP binary:	/opt/alt/php70/usr/bin/php
    PHP version:	7.0.33
    php.ini used:	/opt/alt/php70/etc/php.ini
    WP-CLI root dir:	phar://wp-cli.phar
    WP-CLI packages dir:	/home/lieuxdet/.wp-cli/packages/
    WP-CLI global config:	
    WP-CLI project config:	
    WP-CLI version:	0.23.0

    5.8

    • This topic was modified 4 years, 6 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    This is what I get… I’m not sure what issue you’re having. It lookis like you’re using an older vesion of wp-cli, however.

    $cd /var/www/wplocal
    $ wp --info
    OS:	Linux 5.13.10-200.fc34.x86_64 #1 SMP Fri Aug 13 20:13:23 UTC 2021 x86_64
    Shell:	/bin/bash
    PHP binary:	/usr/bin/php
    PHP version:	7.4.22
    php.ini used:	/etc/php.ini
    MySQL binary:	/usr/bin/mysql
    MySQL version:	mysql  Ver 15.1 Distrib 10.5.11-MariaDB, for Linux (x86_64) using  EditLine wrapper
    SQL modes:	STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
    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:	/var/www/wplocal
    WP-CLI packages dir:	
    WP-CLI global config:	
    WP-CLI project config:	
    WP-CLI version:	2.5.0
    
    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Moved to Fixing WordPress, this is not an Everything else WordPress topic.

    Are you cd’ing into the WordPress installation directory? Steve did and it works for him. I do the same thing before I run a wp-cli command.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘wp cli command, no response’ is closed to new replies.