Adding mcrypt extension
-
Have you tried installing it on your own? Please see Lamp App - Installing custom PHP extensions

-
Have you tried installing it on your own? Please see Lamp App - Installing custom PHP extensions

@subven thanks.
I followed the instructions Lamp App - Installing custom PHP extensions. I was not able to get mcrypt installed that way.
Mcrypt is a pecl extension. Pecl is installed. In the app terminal I ran
pecland it returnedFailed loading /app/data/mcrypt/mcrypt.c: /app/data/mcrypt/mcrypt.c: invalid ELF header.If I run
pecl install mcrypt
I getFailed loading /app/data/mcrypt/mcrypt.c: /app/data/mcrypt/mcrypt.c: invalid ELF header WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update Cannot install, php_dir for channel "pecl.php.net" is not writeable by the current user root@4b54a6f7-bd10-4898-a1a8-6c13ffb94a11:/app/data#Any ideas?
Thanks.
-
@subven thanks.
I followed the instructions Lamp App - Installing custom PHP extensions. I was not able to get mcrypt installed that way.
Mcrypt is a pecl extension. Pecl is installed. In the app terminal I ran
pecland it returnedFailed loading /app/data/mcrypt/mcrypt.c: /app/data/mcrypt/mcrypt.c: invalid ELF header.If I run
pecl install mcrypt
I getFailed loading /app/data/mcrypt/mcrypt.c: /app/data/mcrypt/mcrypt.c: invalid ELF header WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update Cannot install, php_dir for channel "pecl.php.net" is not writeable by the current user root@4b54a6f7-bd10-4898-a1a8-6c13ffb94a11:/app/data#Any ideas?
Thanks.
@Shai the lamp package is currently not setup to deal with pecl extension installation, various required paths are read-only in the app, so this will currently not work.
Not sure if this is something we should support from an app package perspective or as mentioned the better way is to create a custom app. Main concern for me is, how there things get updated/recompiled when we push an lamp update as such.
-
@Shai the lamp package is currently not setup to deal with pecl extension installation, various required paths are read-only in the app, so this will currently not work.
Not sure if this is something we should support from an app package perspective or as mentioned the better way is to create a custom app. Main concern for me is, how there things get updated/recompiled when we push an lamp update as such.
-
@Shai the lamp package is currently not setup to deal with pecl extension installation, various required paths are read-only in the app, so this will currently not work.
Not sure if this is something we should support from an app package perspective or as mentioned the better way is to create a custom app. Main concern for me is, how there things get updated/recompiled when we push an lamp update as such.
-
@Shai the lamp package is currently not setup to deal with pecl extension installation, various required paths are read-only in the app, so this will currently not work.
Not sure if this is something we should support from an app package perspective or as mentioned the better way is to create a custom app. Main concern for me is, how there things get updated/recompiled when we push an lamp update as such.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login