Heroku PHP mcrypt not found -
yesterday, able push without problems, today, framework ( laravel 4 ) detects there not anymore mcrypt on heroku cedar app.
do have information me ?
i tryed add php.ini @ root of project with
extension_dir = "/app/www/ext/" extension=mcrypt.so
and download archive https://s3.amazonaws.com/heroku-buildpack-php-tyler/libmcrypt-2.5.8.tar.gz , took libmcrypt.so.4.4.8 file, renammed mcrypt.so , put in ext folder @ root of application.
thanks in advance.
here's quick fix:
fork official default heroku php build pack (github.com/heroku/heroku-buildpack-php), , revert couple commits (i did here.. https://github.com/jdomonell/heroku-buildpack-php.git).
then set buildpack app (i used own downgraded repo, feel free use too):
$ heroku config:add buildpack_url=https://github.com/jdomonell/heroku-buildpack-php.git
the issue caused recent update uses php_version="5.3.27" (instead of php_version="5.3.10") ... doesn't seem include mcrypt.
Comments
Post a Comment