Skip to main content

Only the wp --info command runs under my cPanel account(s)

Comments

3 comments

  • SamuelM
    Hello @Don Lange It looks like you will simply need to change to the correct directory where Wordpress was installed. I can see that you ran the wp plugin list
    command from the home directory of the cPanel account. Below I have demonstrated the different results I received when running the command from a cPanel user's home directory versus the document root of the Wordpres site itself: [cptech1@samtest ~]$ /usr/local/cpanel/3rdparty/bin/wp plugin list Error: This does not seem to be a WordPress installation. Pass --path=`path/to/wordpress` or run `wp core download`. [cptech1@samtest ~]$ cd public_html/wordpress/ [cptech1@samtest wordpress]$ /usr/local/cpanel/3rdparty/bin/wp plugin list +---------+----------+-----------+---------+ | name | status | update | version | +---------+----------+-----------+---------+ | akismet | inactive | available | 4.1.5 | | hello | inactive | none | 1.7.2 | +---------+----------+-----------+---------+
    I hope this helps!
    0
  • Don Lange
    Hi, I ran wp plugin list from /public_html: [chaseland@host ~]$ cd public_html [chaseland@host public_html]$ wp plugin list [chaseland@host public_html]$ and from /wp-content/plugins with the same empty results: [chaseland@host public_html]$ cd wp-content/plugins [chaseland@host plugins]$ wp plugin list [chaseland@host plugins]$ Here's my actual plugin listing: [chaseland@host plugins]$ ls -al drwxr-xr-x 8 chaseland chaseland 4096 Oct 28 16:19 ajax-search-pro drwxr-xr-x 9 chaseland chaseland 4096 Oct 28 16:19 bloom drwxr-xr-x 3 chaseland chaseland 4096 Oct 28 16:19 chase-brothers drwxr-xr-x 3 chaseland chaseland 4096 Oct 28 16:19 comet-cache-pro drwxr-xr-x 8 chaseland chaseland 4096 Nov 2 01:28 instagram-feed-pro drwxr-xr-x 7 chaseland chaseland 4096 Oct 28 16:19 monarch drwxr-xr-x 6 chaseland chaseland 4096 Oct 28 16:19 regenerate-thumbnails drwxr-xr-x 13 chaseland chaseland 4096 Nov 2 01:28 updraftplus drwxr-xr-x 12 chaseland chaseland 4096 Oct 28 16:19 wordpress-seo drwxr-xr-x 7 chaseland chaseland 4096 Oct 28 16:19 wp-cerber drwxr-xr-x 12 chaseland chaseland 4096 Nov 2 01:29 wp-optimize-premium drwxr-xr-x 6 chaseland chaseland 4096 Oct 28 16:19 wp-smushit [chaseland@host plugins]$ Thank you, Don
    0
  • Don Lange
    I verified that /usr/local/bin is in the path for the cPanel account chaseland. Does it matter that chaseland is operating in a Jailed Shell? Thanks, Don
    0

Please sign in to leave a comment.