Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: wp-cli install issue
PostPosted: Thu Nov 06, 2014 1:40 pm 
Offline
Senior Newbie

Joined: Thu Nov 06, 2014 1:35 pm
Posts: 6
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
Code:
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?


Top
   
 Post subject: Re: wp-cli install issue
PostPosted: Thu Nov 06, 2014 6:03 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
Is PHP working?
Is Wordpress installed?

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

_________________
Either provide enough details for people to help, or sit back and listen to the crickets chirp.
Security thru obscurity is a myth - and really really annoying.


Top
   
 Post subject: Re: wp-cli install issue
PostPosted: Fri Nov 07, 2014 8:19 am 
Offline
Senior Newbie

Joined: Thu Nov 06, 2014 1:35 pm
Posts: 6
Yes for php and wordpress, both work. when I
Code:
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar 
nothing happens, when I
Code:
php wp-cli.phar --info
[/code] I get no output. Thanks again


Top
   
 Post subject: Re: wp-cli install issue
PostPosted: Sun Nov 09, 2014 4:39 pm 
Offline
Senior Newbie

Joined: Thu Nov 06, 2014 1:35 pm
Posts: 6
Any thoughts??


Top
   
 Post subject: Re: wp-cli install issue
PostPosted: Mon Nov 10, 2014 10:36 am 
Offline
Senior Member

Joined: Thu Feb 20, 2014 5:06 pm
Posts: 58
Please copy-and-paste the output of the following commands:

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


Top
   
 Post subject: Re: wp-cli install issue
PostPosted: Mon Nov 10, 2014 11:32 am 
Offline
Senior Newbie

Joined: Thu Nov 06, 2014 1:35 pm
Posts: 6
php --version

Code:
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

Code:
df0d06775d8fa029de4532d270c2494233649226  wp-cli.phar


stat wp-cli.phar

Code:
  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: -


Top
   
 Post subject: Re: wp-cli install issue
PostPosted: Mon Nov 10, 2014 11:44 am 
Offline
Senior Member

Joined: Mon Jul 05, 2010 5:13 pm
Posts: 392
http://php.net/manual/en/book.phar.php


Top
   
 Post subject: Re: wp-cli install issue
PostPosted: Tue Nov 11, 2014 11:01 am 
Offline
Senior Newbie

Joined: Thu Nov 06, 2014 1:35 pm
Posts: 6
i knew you would come through for me aker. :P

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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group