Skip to content

Instantly share code, notes, and snippets.

@letunglam
Forked from weotch/gist:1959748
Created April 2, 2014 22:39
Show Gist options
  • Save letunglam/9944752 to your computer and use it in GitHub Desktop.
Save letunglam/9944752 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