<?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[PHP version change, like the LAMP app?]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">Curious... are we able to change the PHP version in the WordPress app just like we can in the LAMP app? (<a href="https://docs.cloudron.io/apps/lamp/#supported-php-versions" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/apps/lamp/#supported-php-versions</a>)</p>
<p dir="auto">If not, is it possible to perhaps add that type of functionality from the LAMP app in other PHP-based app packages?</p>
]]></description><link>https://forum.cloudron.io/topic/7119/php-version-change-like-the-lamp-app</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 14:43:12 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/7119.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 May 2022 02:50:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PHP version change, like the LAMP app? on Fri, 08 Sep 2023 16:43:11 GMT]]></title><description><![CDATA[<p dir="auto">Allright, thanks !!</p>
]]></description><link>https://forum.cloudron.io/post/73394</link><guid isPermaLink="true">https://forum.cloudron.io/post/73394</guid><dc:creator><![CDATA[benborges]]></dc:creator><pubDate>Fri, 08 Sep 2023 16:43:11 GMT</pubDate></item><item><title><![CDATA[Reply to PHP version change, like the LAMP app? on Fri, 08 Sep 2023 16:40:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/benborges" aria-label="Profile: benborges">@<bdi>benborges</bdi></a> I think for an immediate fix, just use the LAMP app and install WordPress there with the PHP version you want. Currently, we don't have version switching in the WordPress package.</p>
]]></description><link>https://forum.cloudron.io/post/73392</link><guid isPermaLink="true">https://forum.cloudron.io/post/73392</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 08 Sep 2023 16:40:33 GMT</pubDate></item><item><title><![CDATA[Reply to PHP version change, like the LAMP app? on Fri, 08 Sep 2023 16:26:17 GMT]]></title><description><![CDATA[<p dir="auto">I have a use case where I absolutely need to at least temporary go back to PHP 7.2 or 7.4, is it possible with the wordpress managed or unmanaged ?</p>
]]></description><link>https://forum.cloudron.io/post/73390</link><guid isPermaLink="true">https://forum.cloudron.io/post/73390</guid><dc:creator><![CDATA[benborges]]></dc:creator><pubDate>Fri, 08 Sep 2023 16:26:17 GMT</pubDate></item><item><title><![CDATA[Reply to PHP version change, like the LAMP app? on Fri, 20 Jan 2023 12:50:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/martinkbs" aria-label="Profile: martinkbs">@<bdi>martinkbs</bdi></a> said in <a href="/post/60549">PHP version change, like the LAMP app?</a>:</p>
<blockquote>
<p dir="auto">root@5cc74b02-ed2a-49ee-8fc8-0b1f780425e6:/app/data# wp --info</p>
</blockquote>
<p dir="auto">You can make the file executable as <code>chmod +x wp</code> and then do <code>./wp</code>  (the ./ is important)</p>
]]></description><link>https://forum.cloudron.io/post/60551</link><guid isPermaLink="true">https://forum.cloudron.io/post/60551</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 20 Jan 2023 12:50:43 GMT</pubDate></item><item><title><![CDATA[Reply to PHP version change, like the LAMP app? on Fri, 20 Jan 2023 12:39:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> I am trying to install wp-cli in the LAMP application and I get the following error:</p>
<pre><code>root@5cc74b02-ed2a-49ee-8fc8-0b1f780425e6:/app/code# cd /app/data
root@5cc74b02-ed2a-49ee-8fc8-0b1f780425e6:/app/data# curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 6571k  100 6571k    0     0  19.6M      0 --:--:-- --:--:-- --:--:-- 19.6M
root@5cc74b02-ed2a-49ee-8fc8-0b1f780425e6:/app/data# php wp-cli.phar --info
OS:     Linux 5.15.0-57-generic #63-Ubuntu SMP Thu Nov 24 13:43:17 UTC 2022 x86_64
Shell:
PHP binary:     /usr/bin/php8.1
PHP version:    8.1.13
php.ini used:   /etc/php/8.1/cli/php.ini
MySQL binary:   /usr/bin/mysql
MySQL version:  mysql  Ver 8.0.31-0ubuntu0.22.04.1 for Linux on x86_64 ((Ubuntu))
SQL modes:
WP-CLI root dir:        phar://wp-cli.phar/vendor/wp-cli/wp-cli
WP-CLI vendor dir:      phar://wp-cli.phar/vendor
WP_CLI phar path:       /app/data
WP-CLI packages dir:
WP-CLI cache dir:       /root/.wp-cli/cache
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 2.7.1
root@5cc74b02-ed2a-49ee-8fc8-0b1f780425e6:/app/data# chmod +x wp-cli.phar
root@5cc74b02-ed2a-49ee-8fc8-0b1f780425e6:/app/data# sudo mv wp-cli.phar /usr/local/bin/wp
mv: inter-device move failed: 'wp-cli.phar' to '/usr/local/bin/wp'; unable to remove target: Read-only file system
</code></pre>
<p dir="auto">I have tried moving it to the /app/data directory itself, but it doesn't work:</p>
<pre><code>root@5cc74b02-ed2a-49ee-8fc8-0b1f780425e6:/app/data# sudo mv wp-cli.phar /app/data/wp
root@5cc74b02-ed2a-49ee-8fc8-0b1f780425e6:/app/data# wp --info
bash: wp: command not found
</code></pre>
]]></description><link>https://forum.cloudron.io/post/60549</link><guid isPermaLink="true">https://forum.cloudron.io/post/60549</guid><dc:creator><![CDATA[martinkbs]]></dc:creator><pubDate>Fri, 20 Jan 2023 12:39:37 GMT</pubDate></item><item><title><![CDATA[Reply to PHP version change, like the LAMP app? on Fri, 20 Jan 2023 12:10:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/martinkbs" aria-label="Profile: martinkbs">@<bdi>martinkbs</bdi></a> mmm, have to think about the viability of this. Every passing day makes 7.4 more unsupportable. In fact, 7.4 doesn't exist in ubuntu core repos and this complicates the WP app packaging. We use <a href="https://launchpad.net/~ondrej/+archive/ubuntu/php" target="_blank" rel="noopener noreferrer nofollow ugc">this PPA</a>. This is actually why we rushed updating all our apps to base image 4.0 which has PHP 8 and removed the ondrej repo. I think if WP itself didn't support PHP 8, this decision might have been simpler. But this is some plugin of WP...</p>
<p dir="auto">For wp-cli, you only need to get the phar file in <a href="https://github.com/wp-cli/wp-cli/releases/" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/wp-cli/wp-cli/releases/</a> . It's a single file you can put somewhere in /app/data and run .</p>
]]></description><link>https://forum.cloudron.io/post/60544</link><guid isPermaLink="true">https://forum.cloudron.io/post/60544</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 20 Jan 2023 12:10:08 GMT</pubDate></item><item><title><![CDATA[Reply to PHP version change, like the LAMP app? on Fri, 20 Jan 2023 11:58:55 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a>,</p>
<p dir="auto">Yes, I am aware of that. But it would be nice to have the possibility of php version choice like in LAMP application.</p>
<p dir="auto">Even if the WordPress Developer application is installed by default on version 8.1, that somehow it can be downgraded to version 7.4 for those installations that have plugins or themes that have not yet been adapted by their developers.</p>
<p dir="auto">I know I can migrate WordPress installations to a LAMP application, but this way I would lose WP-CLI functionality, and that is something important to keep automations with n8n.</p>
]]></description><link>https://forum.cloudron.io/post/60540</link><guid isPermaLink="true">https://forum.cloudron.io/post/60540</guid><dc:creator><![CDATA[martinkbs]]></dc:creator><pubDate>Fri, 20 Jan 2023 11:58:55 GMT</pubDate></item><item><title><![CDATA[Reply to PHP version change, like the LAMP app? on Fri, 20 Jan 2023 11:41:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/martinkbs" aria-label="Profile: martinkbs">@<bdi>martinkbs</bdi></a> Are you asking for PHP 7.4 for WordPress ? It reached EOL in Nov 2022 - <a href="https://www.php.net/eol.php" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.php.net/eol.php</a> .</p>
]]></description><link>https://forum.cloudron.io/post/60537</link><guid isPermaLink="true">https://forum.cloudron.io/post/60537</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 20 Jan 2023 11:41:19 GMT</pubDate></item><item><title><![CDATA[Reply to PHP version change, like the LAMP app? on Fri, 20 Jan 2023 11:25:34 GMT]]></title><description><![CDATA[<p dir="auto">Hi guys,</p>
<p dir="auto">Is there any progress on this issue?</p>
<p dir="auto">It would be nice to have the possibility of choosing the PHP version in the WordPress Developer application so that updates do not accumulate.</p>
<p dir="auto">In some complex WordPress installations, where there are plugins that the developer has not yet adapted to the PHP 8.1 version, they already accumulate 4 updates (3.0.0, 3.0.1, 3.0.2 and 3.0.3) without any possible alternative to update them.</p>
<p dir="auto">Is there any estimation of what version will be available?</p>
<p dir="auto">Thanks team!</p>
]]></description><link>https://forum.cloudron.io/post/60535</link><guid isPermaLink="true">https://forum.cloudron.io/post/60535</guid><dc:creator><![CDATA[martinkbs]]></dc:creator><pubDate>Fri, 20 Jan 2023 11:25:34 GMT</pubDate></item><item><title><![CDATA[Reply to PHP version change, like the LAMP app? on Tue, 15 Nov 2022 14:44:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d19dotca" aria-label="Profile: d19dotca">@<bdi>d19dotca</bdi></a> yeah, I pushed updates for LAMP and both WP just some time back. They are major upgrades.</p>
]]></description><link>https://forum.cloudron.io/post/56195</link><guid isPermaLink="true">https://forum.cloudron.io/post/56195</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 15 Nov 2022 14:44:36 GMT</pubDate></item><item><title><![CDATA[Reply to PHP version change, like the LAMP app? on Tue, 15 Nov 2022 14:34:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Ah okay, so in that case I guess this will be a “manual intervention required” type of update rather than automatic? And no way to switch back inside of the app itself but would have to deploy the older image if compatibility issues exist? If plugins are up to date it likely won’t be a problem but anyone relying on older rarer plugins I could assume will experience issues. Thankfully all mine are pretty current plug-ins so I’m not anticipating any issues and am actually looking forward to the performance improvements with PHP 8. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=16ee7d1409f" 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/56193</link><guid isPermaLink="true">https://forum.cloudron.io/post/56193</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Tue, 15 Nov 2022 14:34:28 GMT</pubDate></item><item><title><![CDATA[Reply to PHP version change, like the LAMP app? on Tue, 15 Nov 2022 08:11:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d19dotca" aria-label="Profile: d19dotca">@<bdi>d19dotca</bdi></a> yeah, I will switch the default for a start to PHP 8. PHP 7.4 EOL is coming up in 15 days or so.</p>
]]></description><link>https://forum.cloudron.io/post/56147</link><guid isPermaLink="true">https://forum.cloudron.io/post/56147</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 15 Nov 2022 08:11:25 GMT</pubDate></item><item><title><![CDATA[Reply to PHP version change, like the LAMP app? on Tue, 15 Nov 2022 01:07:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> was there any progress on this one? Doesn’t seem we have PHP 8 supported yet on the packaged app for WordPress Developer.</p>
]]></description><link>https://forum.cloudron.io/post/56131</link><guid isPermaLink="true">https://forum.cloudron.io/post/56131</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Tue, 15 Nov 2022 01:07:49 GMT</pubDate></item><item><title><![CDATA[Reply to PHP version change, like the LAMP app? on Mon, 30 May 2022 19:34:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> said in <a href="/post/48793">PHP version change, like the LAMP app?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d19dotca" aria-label="Profile: d19dotca">@<bdi>d19dotca</bdi></a> Not opposed to it. We will move to Ubuntu 22 based image in the recent future, we can have multiple PHP versions in the base image itself.</p>
</blockquote>
<p dir="auto">That'd be awesome! <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=16ee7d1409f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /> Thanks Girish!</p>
]]></description><link>https://forum.cloudron.io/post/48801</link><guid isPermaLink="true">https://forum.cloudron.io/post/48801</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Mon, 30 May 2022 19:34:02 GMT</pubDate></item><item><title><![CDATA[Reply to PHP version change, like the LAMP app? on Mon, 30 May 2022 19:12:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> said in <a href="/post/48784">PHP version change, like the LAMP app?</a>:</p>
<blockquote>
<p dir="auto">This should be possible. What's the use case though? WP is <a href="https://make.wordpress.org/core/2022/01/10/wordpress-5-9-and-php-8-0-8-1/" target="_blank" rel="noopener noreferrer nofollow ugc">not fully compatible</a> with PHP 8 or 8.1 at this point.</p>
</blockquote>
<p dir="auto">However WP 6 is rolling out right now, I haven't checked yet, but I guess it should be fully compatible now... we've yet to see...</p>
]]></description><link>https://forum.cloudron.io/post/48795</link><guid isPermaLink="true">https://forum.cloudron.io/post/48795</guid><dc:creator><![CDATA[micmc]]></dc:creator><pubDate>Mon, 30 May 2022 19:12:13 GMT</pubDate></item><item><title><![CDATA[Reply to PHP version change, like the LAMP app? on Mon, 30 May 2022 19:08:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d19dotca" aria-label="Profile: d19dotca">@<bdi>d19dotca</bdi></a> Not opposed to it. We will move to Ubuntu 22 based image in the recent future, we can have multiple PHP versions in the base image itself.</p>
]]></description><link>https://forum.cloudron.io/post/48793</link><guid isPermaLink="true">https://forum.cloudron.io/post/48793</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 30 May 2022 19:08:32 GMT</pubDate></item><item><title><![CDATA[Reply to PHP version change, like the LAMP app? on Mon, 30 May 2022 18:57:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Ah interesting read. It may not be <em>fully</em> compatible but is still running fine for many people on PHP 8.0 from what I've been reading in various FB groups, plus it's still <a href="https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/" target="_blank" rel="noopener noreferrer nofollow ugc">a supported version of PHP</a> for WordPress whether fully compatible or not. A few of the page builders I use (namely Bricks and Oxygen) are now PHP 8.0 compatible and all the plugins I use appear to be too, so figured I may as well upgrade to 8.0 for the bit of performance improvements. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=16ee7d1409f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
<p dir="auto">I think ideally though that's where you could use the same formula you have for the LAMP app where it's 7.9 by default and can only be 8.0 once it's configured to be so manually using that switch you added. For consistency sake, I'd think that should perhaps be added to all PHP-based apps, but that's just my two cents.</p>
]]></description><link>https://forum.cloudron.io/post/48790</link><guid isPermaLink="true">https://forum.cloudron.io/post/48790</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Mon, 30 May 2022 18:57:26 GMT</pubDate></item><item><title><![CDATA[Reply to PHP version change, like the LAMP app? on Mon, 30 May 2022 17:27:55 GMT]]></title><description><![CDATA[<p dir="auto">This should be possible. What's the use case though? WP is <a href="https://make.wordpress.org/core/2022/01/10/wordpress-5-9-and-php-8-0-8-1/" target="_blank" rel="noopener noreferrer nofollow ugc">not fully compatible</a> with PHP 8 or 8.1 at this point.</p>
]]></description><link>https://forum.cloudron.io/post/48784</link><guid isPermaLink="true">https://forum.cloudron.io/post/48784</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 30 May 2022 17:27:55 GMT</pubDate></item></channel></rss>