<?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[Using PHP-CLI 8.1 as default]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">Would it be possible to move the PHP CLI up to php 8.1? So we don't have to use php8.1 as a command? This would be very useful for composer projects.</p>
]]></description><link>https://forum.cloudron.io/topic/7849/using-php-cli-8-1-as-default</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 11:14:33 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/7849.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 Oct 2022 08:01:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Using PHP-CLI 8.1 as default on Fri, 04 Nov 2022 22:45:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/foksvhox" aria-label="Profile: FoksVHox">@<bdi>FoksVHox</bdi></a> I am not an expert on laravel, but can you point me to what issue one hits here because the php binary is still pointing to 7.4? Currently, it is difficult to create a package where the php binary is dynamic.</p>
<p dir="auto">Are you refering to some issue like <a href="https://stackoverflow.com/questions/32750250/tell-composer-to-use-different-php-version" target="_blank" rel="noopener noreferrer nofollow ugc">https://stackoverflow.com/questions/32750250/tell-composer-to-use-different-php-version</a> ?</p>
]]></description><link>https://forum.cloudron.io/post/55421</link><guid isPermaLink="true">https://forum.cloudron.io/post/55421</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 04 Nov 2022 22:45:43 GMT</pubDate></item><item><title><![CDATA[Reply to Using PHP-CLI 8.1 as default on Tue, 01 Nov 2022 17:37:43 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/54888">Using PHP-CLI 8.1 as default</a>:</p>
<blockquote>
<p dir="auto">alias php=php8.1</p>
</blockquote>
<p dir="auto">I wasn't aware that you had to create the <code>/app/data/.bashrc</code>, which resolved it. However, when using composer scripts (such as you do in Laravel projects) it'll use the 7.4.30 version instead of the aliased one.</p>
]]></description><link>https://forum.cloudron.io/post/55204</link><guid isPermaLink="true">https://forum.cloudron.io/post/55204</guid><dc:creator><![CDATA[FoksVHox]]></dc:creator><pubDate>Tue, 01 Nov 2022 17:37:43 GMT</pubDate></item><item><title><![CDATA[Reply to Using PHP-CLI 8.1 as default on Tue, 25 Oct 2022 22:13:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/foksvhox" aria-label="Profile: FoksVHox">@<bdi>FoksVHox</bdi></a> I think you can set <code>alias php=php8.1</code> no? You can put it in <code>/app/data/.bashrc</code> which makes it sourced in Web Terminal .</p>
]]></description><link>https://forum.cloudron.io/post/54888</link><guid isPermaLink="true">https://forum.cloudron.io/post/54888</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 25 Oct 2022 22:13:26 GMT</pubDate></item></channel></rss>