wp-cli install issue

Hi

Thanks in advance.

I have tried to install wp-cli as per these instructions http://wp-cli.org/. However, when I check if it has worked php wp-cli.phar --info I get no out put. the same when I try to issue wp-cli commands. Anyone else on Linode have these issues?

7 Replies

Is PHP working?

Is Wordpress installed?

What happened when you downloaded (wget/curl) wp-cli.phar?

Yes for php and wordpress, both work. when I curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar nothing happens, when I php wp-cli.phar --info I get no output. Thanks again

Please copy-and-paste the output of the following commands:

php --version
sha1sum wp-cli.phar
stat wp-cli.phar

php –version

PHP 5.3.10-1ubuntu3.15 with Suhosin-Patch (cli) (built: Oct 29 2014 12:19:04) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
    with Suhosin v0.9.33, Copyright (c) 2007-2012, by SektionEins GmbH

sha1sum wp-cli.phar

df0d06775d8fa029de4532d270c2494233649226  wp-cli.phar

stat wp-cli.phar

  File: `wp-cli.phar'
  Size: 1315849       Blocks: 2584       IO Block: 4096   regular file
Device: ca00h/51712d    Inode: 54157       Links: 1
Access: (0664/-rw-rw-r--)  Uid: ( 1000/    josh)   Gid: ( 1000/    josh)
Access: 2014-11-04 10:15:11.000000000 +0000
Modify: 2014-11-04 10:35:57.000000000 +0000
Change: 2014-11-04 10:35:57.000000000 +0000
 Birth: -

http://php.net/manual/en/book.phar.php

i knew you would come through for me aker. :P

Add suhosin.executor.include.whitelist="phar" to suhosin.ini for anyone on Linode

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct