I have the following config in a Laravel application:
.bp-config/options.json
{
"WEB_SERVER": "nginx",
"WEBDIR": "public",
"LIBDIR": "",
"PHP_EXTENSIONS": ["amqp", "bz2", "curl", "dba", "exif", "fileinfo", "ftp", "gd", "gettext", "gmp", "igbinary", "imagick", "imap", "intl", "ldap", "mailparse", "mbstring", "mcrypt", "memcache", "memcached", "mongo", "msgpack", "mysql", "mysqli", "openssl", "pdo", "pdo_sqlite", "pdo_mysql", "pdo_pgsql", "pgsql", "phalcon", "phpiredis", "pspell", "redis", "snmp", "soap", "sockets", "sundown", "twig", "zip", "zlib"],
"ZEND_EXTENSIONS": ["xdebug"]
}
Obviously I don't actually need all of the extensions, but it appears they are all being loaded as I configured:
https://laravel.mybluemix.net/phpinfo.php#module_mcrypt
However, when composer attempts to run Laravel's post install scripts, the script is throwing the following error:
Mcrypt PHP extension required.
Script php artisan clear-compiled handling the post-install-cmd event returned with an error
From what I can tell, the built ini file is being copied to tmp, and should have the same configuration as php-fpm, but the error above makes me wonder if that is the case. Thoughts?
I have the following config in a Laravel application:
.bp-config/options.json{ "WEB_SERVER": "nginx", "WEBDIR": "public", "LIBDIR": "", "PHP_EXTENSIONS": ["amqp", "bz2", "curl", "dba", "exif", "fileinfo", "ftp", "gd", "gettext", "gmp", "igbinary", "imagick", "imap", "intl", "ldap", "mailparse", "mbstring", "mcrypt", "memcache", "memcached", "mongo", "msgpack", "mysql", "mysqli", "openssl", "pdo", "pdo_sqlite", "pdo_mysql", "pdo_pgsql", "pgsql", "phalcon", "phpiredis", "pspell", "redis", "snmp", "soap", "sockets", "sundown", "twig", "zip", "zlib"], "ZEND_EXTENSIONS": ["xdebug"] }Obviously I don't actually need all of the extensions, but it appears they are all being loaded as I configured:
https://laravel.mybluemix.net/phpinfo.php#module_mcrypt
However, when composer attempts to run Laravel's post install scripts, the script is throwing the following error:
From what I can tell, the built ini file is being copied to tmp, and should have the same configuration as php-fpm, but the error above makes me wonder if that is the case. Thoughts?