<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=3999&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / php ported packages from sury know problem with 5.6 segfault]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=3999</link>
		<description><![CDATA[The most recent posts in php ported packages from sury know problem with 5.6 segfault.]]></description>
		<lastBuildDate>Sat, 20 Feb 2021 14:26:15 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: php ported packages from sury know problem with 5.6 segfault]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=27564#p27564</link>
			<description><![CDATA[<p>Ibackported and sync with the @tdenetworks php 5.6 packages and now the php5.6-http does not crash anymore in my build.. </p><p><a href="https://t.me/s/vegnuli/361" rel="nofollow">https://t.me/s/vegnuli/361</a></p><p>i follow all changes in debian salsa git repository, removing stupid or dangerous suspiccious coimmits like the <em>&quot;Don&#039;t pass URLs for missing files to PHP-FPM&quot;</em> (reverted later in php 7.3 and 7.4, but not in php 5.6 causing some rare behaviours)</p><p>now seems works..</p>]]></description>
			<author><![CDATA[dummy@example.com (mckaygerhard)]]></author>
			<pubDate>Sat, 20 Feb 2021 14:26:15 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=27564#p27564</guid>
		</item>
		<item>
			<title><![CDATA[Re: php ported packages from sury know problem with 5.6 segfault]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=26272#p26272</link>
			<description><![CDATA[<p><strong>FOUND THE SOLUTION: as post in <a href="https://t.me/s/vegnuli/295" rel="nofollow">https://t.me/s/vegnuli/295</a></strong> and <a href="https://github.com/oerdnj/deb.sury.org/issues/1506" rel="nofollow">https://github.com/oerdnj/deb.sury.org/issues/1506</a> and&#160; comments&#160; i unninstall any php-pecl sury package and it works.. the bug is only in sury package.. cos from debian it works flameless, so in my case <strong>remove php5.6-http php7.4-http php7.3-http php7.2-http php-7.1-http php-http</strong>* and works.. is a sury package that has the bug not the **php-pecl-http** as it said .. puff only shit those support from sury</p><p>so we have a problem with the pecl http package so i dont know if by recompiling will fix that cos i dont know why is happened cos i cannot understan at all the bug reported at&#160; <a href="https://github.com/oerdnj/deb.sury.org/issues/1442#issuecomment-668471509" rel="nofollow">https://github.com/oerdnj/deb.sury.org/ … -668471509</a> that seems the original problem</p><p><strong>the problem is that php pecl http has no support to php 7.X neither 5.6 on lasted release and if you install 3.X release does not have support for php 5.6 so that is the problem</strong></p>]]></description>
			<author><![CDATA[dummy@example.com (mckaygerhard)]]></author>
			<pubDate>Tue, 15 Dec 2020 14:53:09 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=26272#p26272</guid>
		</item>
		<item>
			<title><![CDATA[Re: php ported packages from sury know problem with 5.6 segfault]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=26271#p26271</link>
			<description><![CDATA[<p>found this now.. i repeat all with debian not devuan and got this:</p><div class="codebox"><pre><code>[1026950.392088] /usr/sbin/apach[34726]: segfault at 7fbae6f167a0 ip 00007fbae6f167a0 sp 00007ffc24cd7948 error 14 in libexpat.so.1.6.2[7fbae97b0000+27000]</code></pre></div><p><strong>now i understand why when i put &quot;&lt;?php phpinfo(); ?&gt;&quot; got an error.. cos iterates in all modules until the failed one.. </strong></p><p>the only linked related are libaprutil1 that depends on libexpat1 and apache2 depends on libaprutil1 .. so apache that shit is a shit.. XD that&#039;s why is working with lighttpd and not with apache2.. puff i dont know how to solve this cos the problem is on apache2 debian packages..&#160; &#160;</p><p>seems related: <a href="https://github.com/oerdnj/deb.sury.org/issues/1360" rel="nofollow">https://github.com/oerdnj/deb.sury.org/issues/1360</a> but we know sury packages are shit too</p><p>in any case i will send the bug mail.. but if you foun some error please hepl me</p>]]></description>
			<author><![CDATA[dummy@example.com (mckaygerhard)]]></author>
			<pubDate>Tue, 15 Dec 2020 14:29:04 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=26271#p26271</guid>
		</item>
		<item>
			<title><![CDATA[php ported packages from sury know problem with 5.6 segfault]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=26270#p26270</link>
			<description><![CDATA[<p>i started a new thread event post in the tdenetwork anunce post php package.. to mantain order here:</p><p>hey @tdrnetworks after using your packages i try now with apache2.. and got some errors.. but before write here i try if the error comes from sury shit packages.. and got something insteersting.. </p><p>i setup php fpm with apache2 in pure debian way such as:</p><p>1 - install two&#160; versions 7.2 and 7.4 only but i watn 7.2 globally as default:</p><div class="codebox"><pre><code>apt-get install php7.2* php7.4* php7.2-fpm</code></pre></div><p>2 - setup php 7.2 as default in fpm</p><div class="codebox"><pre><code>sed -i -r &#039;s|^.*listen =.*|listen = /var/run/php/php7.4-fpm.sock|g&#039; /etc/php/7.4/fpm/pool.d/www.conf
sed -i -r &#039;s|^pid =.*|pid = /var/run/php/php7.4-fpm.pid|g&#039; /etc/php/7.4/fpm/php-fpm.conf

sed -i -r &#039;s|^.*listen =.*|listen = /var/run/php/php7.2-fpm.sock|g&#039; /etc/php/7.2/fpm/pool.d/www.conf
sed -i -r &#039;s|^pid =.*|pid = /var/run/php/php7.2-fpm.pid|g&#039; /etc/php/7.2/fpm/php-fpm.conf

/sbin/service php7.4-fpm stop

/sbin/service php7.2-fpm restart</code></pre></div><p>3 -&#160; install apache2 and setup php 7.2 as default for all</p><div class="codebox"><pre><code>a2dismod php5.6 php7.1 php7.0 php7.4 php5.6

a2dismod php5.6-fpm php7.1-fpm php7.0-fpm php7.4-fpm

a2disconf php5.6-fpm php7.1-fpm php7.0-fpm php7.4-fpm

a2enmod actions fcgid alias proxy proxy_fcgi setenvif

a2enconf php7.2-fpm

/sbin/service apache2 restart

update-alternatives --set php /usr/bin/php7.2
update-alternatives --set phar /usr/bin/phar7.2
update-alternatives --set phar.phar /usr/bin/phar.phar7.2 
update-alternatives --set phpize /usr/bin/phpize7.2
update-alternatives --set php-config /usr/bin/php-config7.2</code></pre></div><p>4 - later put a test file :</p><div class="codebox"><pre><code>echo &quot;&lt;?php echo &quot;hi&quot;; ?&gt;&quot; &gt; /var/www/html/info.php</code></pre></div><p>In this point for that test code it works.. but lest try phpinfo:</p><p>5 - put info php test:</p><div class="codebox"><pre><code>echo &quot;&lt;?php phpinfo(); ?&gt;&quot; &gt; /var/www/html/info.php</code></pre></div><p>with that i got a problem, got 503 error a proxy handler unavailable request cod seems &quot;could not connect to proxy handler&quot;</p><p>i tried the same setup in debian and does neither work.. only by enabling apache2 php 7.2 mod .. but fpm does not work .. any tips here?</p><p><strong>NOTE:</strong></p><p>found that the sock points in debian to php-fpm sock that are unique.. .. puff that was in debian not devuan ..&#160; using lighttpd everithing is good but with apache i&#039;m unable to setup php-fpm in debian pure way.. always i must enable php mods event confs</p><p>EDIT:</p><p>no i got </p><div class="codebox"><pre><code>WARNING: [pool www] child 4319 exited on signal 11 (SIGSEGV) after 1800.
162054 seconds from start

[1026369.614673] php-fpm7.2[34794]: segfault at 679deb21 ip 00005631c46d76bf sp 00007ffd18d90390 error 4 in php-fpm7.2[5631c4529000+3cb000]</code></pre></div><p>seems is a know problem.. i repeat all config and setup with 5.6 and got same results.. cos i found some old in google searchs..</p>]]></description>
			<author><![CDATA[dummy@example.com (mckaygerhard)]]></author>
			<pubDate>Tue, 15 Dec 2020 14:23:27 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=26270#p26270</guid>
		</item>
	</channel>
</rss>
