Skip to content

Instantly share code, notes, and snippets.

@robbestad
Forked from weotch/gist:1959748
Created March 19, 2014 13:55
Show Gist options
  • Save robbestad/9642129 to your computer and use it in GitHub Desktop.
Save robbestad/9642129 to your computer and use it in GitHub Desktop.
# Add this config
$ heroku config:add LD_LIBRARY_PATH=/app/php/ext:/app/apache/lib
# Login to Heroku CLI
$ heroku run bash
# The second argument here is the path to your script
~ $ ~/php/bin/php -f ~/www/index.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment