<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Adding mcrypt extension]]></title><description><![CDATA[<p dir="auto">I need to add the mcrypt extension to a Lamp 7.4 app.</p>
<p dir="auto">mcrypt was no longer included with PHP since PHP 7.2</p>
<p dir="auto">I'm presuming I would have to create a custom app to add it to a Lamp 7.4 install. Please confirm or tell me otherwise.</p>
<p dir="auto">Thanks.</p>
]]></description><link>https://forum.cloudron.io/topic/5194/adding-mcrypt-extension</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 02:49:10 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/5194.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 04 Jun 2021 21:56:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Adding mcrypt extension on Tue, 22 Jun 2021 20:47:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> you just run the update command(s)</p>
]]></description><link>https://forum.cloudron.io/post/32958</link><guid isPermaLink="true">https://forum.cloudron.io/post/32958</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Tue, 22 Jun 2021 20:47:26 GMT</pubDate></item><item><title><![CDATA[Reply to Adding mcrypt extension on Thu, 01 Jul 2021 22:21:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> I think it would be helpful to mention in the "Installing custom PHP extensions" portion of the docs that pecl extensions are not supported. It would have saved me some time and frustration.</p>
]]></description><link>https://forum.cloudron.io/post/32955</link><guid isPermaLink="true">https://forum.cloudron.io/post/32955</guid><dc:creator><![CDATA[Shai]]></dc:creator><pubDate>Thu, 01 Jul 2021 22:21:52 GMT</pubDate></item><item><title><![CDATA[Reply to Adding mcrypt extension on Tue, 22 Jun 2021 15:03:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> Thanks. I guess this is my chance to create my first custom app.</p>
]]></description><link>https://forum.cloudron.io/post/32953</link><guid isPermaLink="true">https://forum.cloudron.io/post/32953</guid><dc:creator><![CDATA[Shai]]></dc:creator><pubDate>Tue, 22 Jun 2021 15:03:16 GMT</pubDate></item><item><title><![CDATA[Reply to Adding mcrypt extension on Tue, 22 Jun 2021 14:46:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shai" aria-label="Profile: Shai">@<bdi>Shai</bdi></a> 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.</p>
<p dir="auto">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.</p>
]]></description><link>https://forum.cloudron.io/post/32950</link><guid isPermaLink="true">https://forum.cloudron.io/post/32950</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 22 Jun 2021 14:46:50 GMT</pubDate></item><item><title><![CDATA[Reply to Adding mcrypt extension on Mon, 21 Jun 2021 20:29:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/subven" aria-label="Profile: subven">@<bdi>subven</bdi></a> thanks.</p>
<p dir="auto">I followed the instructions <a href="https://docs.cloudron.io/apps/lamp/#installing-custom-php-extensions" target="_blank" rel="noopener noreferrer nofollow ugc">Lamp App - Installing custom PHP extensions</a>. I was not able to get mcrypt installed that way.</p>
<p dir="auto">Mcrypt is a pecl extension. Pecl is installed. In the app terminal I ran<br />
<code>pecl</code> and it returned <code>Failed loading /app/data/mcrypt/mcrypt.c:  /app/data/mcrypt/mcrypt.c: invalid ELF header</code>.</p>
<p dir="auto">If I run <code>pecl install mcrypt</code><br />
I get</p>
<pre><code>Failed 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# 
</code></pre>
<p dir="auto">Any ideas?</p>
<p dir="auto">Thanks.</p>
]]></description><link>https://forum.cloudron.io/post/32939</link><guid isPermaLink="true">https://forum.cloudron.io/post/32939</guid><dc:creator><![CDATA[Shai]]></dc:creator><pubDate>Mon, 21 Jun 2021 20:29:41 GMT</pubDate></item><item><title><![CDATA[Reply to Adding mcrypt extension on Sat, 05 Jun 2021 00:04:52 GMT]]></title><description><![CDATA[<p dir="auto">Have you tried installing it on your own? Please see <a href="https://docs.cloudron.io/apps/lamp/#installing-custom-php-extensions" target="_blank" rel="noopener noreferrer nofollow ugc">Lamp App - Installing custom PHP extensions</a> <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/32437</link><guid isPermaLink="true">https://forum.cloudron.io/post/32437</guid><dc:creator><![CDATA[subven]]></dc:creator><pubDate>Sat, 05 Jun 2021 00:04:52 GMT</pubDate></item></channel></rss>