WebFaction
Community site: login faq

I'm trying to install the WordPress command line interface in usr/bin, but when I type $php wp-cli.phar --info it gets a fatal error, 'Phar class not found'. As $php --version gave me 5.2.x, I tryed to upgrade it setting an alias in .bash_profile, as mentioned elsewhere in this forum. Now $php --version is 5.5.28, so phar library should be loaded, nevertheless same fatal error appears.

asked 14 Sep '15, 21:54

andywar65
1113
accept rate: 0%

edited 14 Sep '15, 21:56


sorry, found an answer at 18292: must type $php55 and it works!

permanent link

answered 14 Sep '15, 22:04

andywar65
1113
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×262
×2
×2
×2

question asked: 14 Sep '15, 21:54

question was seen: 2,526 times

last updated: 14 Sep '15, 22:04

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM