Skip to content

Instantly share code, notes, and snippets.

@gregmercer
Last active April 19, 2018 14:10
Show Gist options
  • Save gregmercer/8a6634d91c07f72800f80eb7baff49de to your computer and use it in GitHub Desktop.
Save gregmercer/8a6634d91c07f72800f80eb7baff49de to your computer and use it in GitHub Desktop.
Running php from bash
#!/usr/bin/env bash
PHP=`which php`
$PHP example.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment