Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulgibbs/a90e68501cd7e735aef08a5a32945c76 to your computer and use it in GitHub Desktop.
Save paulgibbs/a90e68501cd7e735aef08a5a32945c76 to your computer and use it in GitHub Desktop.
$ uname -a
Darwin Pauls-MacBook-Air.local 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64
$ which -a php
/usr/local/php5/bin/php
/usr/bin/php
$ php -v
PHP 7.1.1 (cli) (built: Feb 13 2017 10:05:49) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.1.1, Copyright (c) 1999-2017, by Zend Technologies
with Xdebug v2.5.0, Copyright (c) 2002-2016, by Derick Rethans
$ php -m | grep -i suhosin
$ which -a wp
/usr/local/bin/wp
/usr/local/bin/wp
$ stat $(which wp)
16777220 115023270 -rwxr-xr-x 1 paulgibbs staff 0 6804077 "Jul 8 13:52:13 2017" "Jul 7 16:32:14 2017" "Jul 7 16:32:15 2017" "Jul 7 16:32:10 2017" 4096 13296 0 /usr/local/bin/wp
$ wp package list
+------+---------+---------+--------+----------------+
| name | authors | version | update | update_version |
+------+---------+---------+--------+----------------+
+------+---------+---------+--------+----------------+
$ wp --version
WP-CLI 1.2.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment