Compiled a few library for Heroku's PHP extension - imagick.so, apc.so, gd.so
-
create folder "ext" in project folder
-
put "imagick.so" in "ext" folder
-
create file "php.ini" in main folder of project
-
Add these lines to "php.ini"
extension_dir = "/app/www/ext/" extension=imagick.so
-
Run: git add php.ini ext/imagick.so
-
Run: git commit -m "PHP's imagemagick library"
-
Run: git push heroku master
Google it for these extensions: zlib.so, mbstring.so, mongodb.so