Skip to content

Instantly share code, notes, and snippets.

@bmaeser
Created October 15, 2013 12:52
Show Gist options
  • Save bmaeser/6991135 to your computer and use it in GitHub Desktop.
Save bmaeser/6991135 to your computer and use it in GitHub Desktop.
print phpinfo() to stdout, no need for phpinfo.php in $document_root
#!/bin/sh
echo "<?php phpinfo() ?>" | php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment