<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=5563&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [HowTo] Install PHP 8.2 on Devuan Chimaera (stable)]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5563</link>
		<description><![CDATA[The most recent posts in [HowTo] Install PHP 8.2 on Devuan Chimaera (stable).]]></description>
		<lastBuildDate>Wed, 22 Feb 2023 12:33:28 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [HowTo] Install PHP 8.2 on Devuan Chimaera (stable)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41248#p41248</link>
			<description><![CDATA[<div class="quotebox"><cite>john2009w wrote:</cite><blockquote><div><div class="quotebox"><cite>mckaygerhard wrote:</cite><blockquote><div><p>i used php 5.6 and 7.3 &quot;should not be used&quot; .. pifff the problem with geek people its that confused security with fashion updates.. the excuse from upstream is security, but for that there are so many people working in such thing, like debian LTS with freexian repos</p></div></blockquote></div><p>There could be vulnerabilities. 7.4 is just deprecated and what if new vulnerabilities emerge? And without official support this is a risk.}</p></div></blockquote></div><p>It seems you ignored so many tbhings.. and is clear you dont know what debian LTS means. so your sentences are pretty from ignorant</p><div class="quotebox"><cite>john2009w wrote:</cite><blockquote><div><p>I used testing, not unstable. Also understand that I had to do that as a last resort. TDR repos did not have i686 support. I did not recommend this for everyone (please check NOTEs and WARNINGs), rather recommended to check backports first. This is for people who are willing to take the risk of testing the setup. Didn&#039;t have any other way, this worked, was fairly stable, so thought of sharing it. If this may have any problems in future, please point that out as it should be sort of a warning to what someone is getting into.</p><p>This is why 8.x should be in backports so that I don&#039;t have to jump through hoops just to get out of an unsupported version.</p></div></blockquote></div><p>another sing of ignorant, currently unstable can work into testing cos dependencies between repos are &quot;close&quot;, but that not will always work.. </p><p>the same can be done between testing and stable, but as same, only when both are close, if stable its older its not so possible..</p>]]></description>
			<author><![CDATA[dummy@example.com (mckaygerhard)]]></author>
			<pubDate>Wed, 22 Feb 2023 12:33:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41248#p41248</guid>
		</item>
		<item>
			<title><![CDATA[Re: [HowTo] Install PHP 8.2 on Devuan Chimaera (stable)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41199#p41199</link>
			<description><![CDATA[<div class="quotebox"><cite>mckaygerhard wrote:</cite><blockquote><div><p>i used php 5.6 and 7.3 &quot;should not be used&quot; .. pifff the problem with geek people its that confused security with fashion updates.. the excuse from upstream is security, but for that there are so many people working in such thing, like debian LTS with freexian repos</p></div></blockquote></div><p>There could be vulnerabilities. 7.4 is just deprecated and what if new vulnerabilities emerge? And without official support this is a risk.</p><p>Even if someone patches things it could take more time to do. Why take the risk? This should not be forced on to all users at least. If someone has old code that needs 7.x that&#039;s fine. But users should be able to get out of an unsupported version. (I am not recommending this method for everyone as mentioned above and below, but rather <a href="https://dev1galaxy.org/viewtopic.php?pid=41091#p41091" rel="nofollow">have been requesting for a backport</a> as a more logical solution.)</p><div class="quotebox"><cite>mckaygerhard wrote:</cite><blockquote><div><p><strong>ALSO&#160; mixing repos from unstable only works cos right now unstable and testing are very close in dependencies.. <span class="bbu">but this does not works as is.. so this guide is not so great neither secure ironically</span></strong></p></div></blockquote></div><p>I used testing, not unstable. Also understand that I had to do that as a last resort. TDR repos did not have i686 support. I did not recommend this for everyone (please check NOTEs and WARNINGs), rather recommended to check backports first. This is for people who are willing to take the risk of testing the setup. Didn&#039;t have any other way, this worked, was fairly stable, so thought of sharing it. If this may have any problems in future, please point that out as it should be sort of a warning to what someone is getting into.</p><p>This is why 8.x should be in backports so that I don&#039;t have to jump through hoops just to get out of an unsupported version.</p>]]></description>
			<author><![CDATA[dummy@example.com (john2009w)]]></author>
			<pubDate>Sun, 19 Feb 2023 09:08:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41199#p41199</guid>
		</item>
		<item>
			<title><![CDATA[Re: [HowTo] Install PHP 8.2 on Devuan Chimaera (stable)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41154#p41154</link>
			<description><![CDATA[<div class="quotebox"><cite>john2009w wrote:</cite><blockquote><div><p><em>Tested under a i686 install of Devuan Chimaera (stable) with runit init system and nginx server.</em></p><p>Devuan Chimaera has PHP 7.4 on repos which <a href="https://www.zend.com/blog/planning-php-7-4-eol" rel="nofollow">has been made EOL on November 2022</a> and should not be used.</p></div></blockquote></div><p>i used php 5.6 and 7.3 &quot;should not be used&quot; .. pifff the problem with geek people its that confused security with fashion updates.. the excuse from upstream is security, but for that there are so many people working in such thing, like debian LTS with freexian repos</p><p><strong>ALSO&#160; mixing repos from unstable only works cos right now unstable and testing are very close in dependencies.. <span class="bbu">but this does not works as is.. so this guide is not so great neither secure ironically</span></strong></p>]]></description>
			<author><![CDATA[dummy@example.com (mckaygerhard)]]></author>
			<pubDate>Fri, 17 Feb 2023 13:30:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41154#p41154</guid>
		</item>
		<item>
			<title><![CDATA[[HowTo] Install PHP 8.2 on Devuan Chimaera (stable)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41131#p41131</link>
			<description><![CDATA[<p><em>Tested under a i686 install of Devuan Chimaera (stable) with runit init system and nginx server.</em></p><p>Devuan Chimaera has PHP 7.4 on repos which <a href="https://www.zend.com/blog/planning-php-7-4-eol" rel="nofollow">has been made EOL on November 2022</a> and should not be used. This guide explains a way to install PHP 8.2 on Chimaera.</p><p><strong>NOTE</strong>: There are many applications which don&#039;t support PHP 8.2 yet. Please check all the application system requirements to be sure that everything will work. For example, the <a href="https://github.com/nextcloud/server/issues/32595#issuecomment-1313279527" rel="nofollow">current Nextcloud release, version 25, does not support PHP 8.2</a>, but <a href="https://docs.nextcloud.com/server/25/admin_manual/installation/system_requirements.html#server" rel="nofollow">only up to 8.1</a>. Nextcloud 26 is <a href="https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule#nextcloud-26" rel="nofollow">going to be released on March 2023</a> and <a href="https://github.com/nextcloud/server/issues/32595#issuecomment-1416078457" rel="nofollow">should have support for PHP 8.2</a>. Another option is <a href="https://dev1galaxy.org/viewtopic.php?pid=34499#p34499" rel="nofollow">TDR repos</a> which at the time of writing this has PHP 8.0.15 and 8.1.2 but <a href="https://dev1galaxy.org/viewtopic.php?pid=41122#p41122" rel="nofollow">only x64 and thus doesn&#039;t have i686 support</a>.</p><p><strong>WARNING</strong>: These instructions have not been tested extensively and I&#039;m not experienced with this. Even though it has been running great on my machine, be sure to test it on staging environment thoroughly before serious use.</p><p>There are packages in <a href="https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&amp;q=php&amp;x=submit" rel="nofollow">daedalus (testing) and ceres (unstable)</a> for PHP 8.2. So in this guide we&#039;re going to mix these packages from testing with stable. But we&#039;re going to do that in a process that does not ruin the stable experience. apt will see testing packages when we explicitly mention so. Otherwise it will see and install stable packages (unless some are installed from testing already). <strong>NOTE:</strong> If PHP 8.x becomes available in chimaera-backports in future (<a href="https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&amp;q=php&amp;x=submit" rel="nofollow">check here</a> to see if chimaera-backports is mentioned under a 8.x package), using that instead may be a better idea. At the time of writing this, it is not the case.</p><p>I followed <a href="https://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html#s-default-version" rel="nofollow">official Debian guide</a> for &quot;mixing&quot; testing packages in stable and as much as I tested it worked fine for me. So if you&#039;re eager, read on...</p><p>Edit <strong>/etc/apt/apt.conf</strong> and add:</p><div class="codebox"><pre><code>APT::Default-Release &quot;chimaera&quot;;</code></pre></div><p>Here we are setting the default release that we want apt to see when using apt normally. NOTE: You may need to change this when upgrading Devuan.</p><p>Edit <strong>/etc/apt/sources.list</strong> and add:</p><div class="codebox"><pre><code># To allow to mix packages from testing
deb http://deb.devuan.org/merged daedalus main contrib non-free
deb-src http://deb.devuan.org/merged daedalus main contrib non-free</code></pre></div><p>Here we are enabling daedalus (currently testing) repos to install PHP 8.2 from. NOTE: You may need to change this when upgrading Devuan.</p><p>Now update to reflect changes:</p><div class="codebox"><pre><code>sudo apt update</code></pre></div><p>I noticed that when I try to apt upgrade, it tries to install linux-image from daedalus. But I want to keep linux-image from stable. I don&#039;t want any packages from testing unless I say so. So I had to set priorities for repositories by adding the <a href="https://serverfault.com/a/382101" rel="nofollow">following</a> on <strong>/etc/apt/preferences</strong> to make sure this happens:</p><div class="codebox"><pre><code>Package: *
Pin: release a=stable
Pin-Priority: 900

Package: *
Pin: release a=testing
Pin-Priority: 400</code></pre></div><p>Now to install from testing, try things like:</p><div class="codebox"><pre><code>apt search -t testing php-fpm
sudo apt-get -t testing install php-fpm php-mysql
# and so on...</code></pre></div><p>You can also use repo name exclusively, for example, &quot;-t daedalus&quot;. Carefully check what these commands install and if you are ok with them. And when running apt search carefully check from which repo it is seeing packages from. It should have the repo after the &quot;package-name/&quot; part, like &quot;php7.4-fpm/stable,stable-security,now&quot;, &quot;php8.2-fpm/testing,now&quot;. It should select &quot;php8.2&quot; series packages on the apt install command above if everything went well.</p><p>To confirm, run <strong>php --version</strong>:</p><div class="codebox"><pre><code>$ php --version
PHP 8.2.2 (cli) (built: Feb  7 2023 11:27:52) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.2, Copyright (c) Zend Technologies
	with Zend OPcache v8.2.2, Copyright (c), by Zend Technologies</code></pre></div><p>To install anything from stable, just drop the &quot;-t testing&quot; argument and use apt like you used before. Like &quot;apt search nodejs&quot; should show &quot;nodejs/stable&quot;.</p><p>If anybody notices any issues with this guide feel free to respond below.</p><p><em>UPDATES:</em><br />1. Updated some URLs, change &quot;php8.2&quot;, minor changes (20230216)</p>]]></description>
			<author><![CDATA[dummy@example.com (john2009w)]]></author>
			<pubDate>Thu, 16 Feb 2023 07:57:41 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41131#p41131</guid>
		</item>
	</channel>
</rss>
