Last active
August 29, 2015 14:00
-
-
Save travist/11381206 to your computer and use it in GitHub Desktop.
Shell Command line to return all of PHP configurations in a list.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php -i | grep 'Configure Command =>' | awk '{for(i=5; i<=NF; i++) {print substr($i, 2, (length($i) - 2))}}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Doesn't work for me on Debian 7 64bit with PHP 5.4