<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PHP Crashes Caused By Extension Ordering: A Workaround</title>
	<atom:link href="http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/feed" rel="self" type="application/rss+xml" />
	<link>http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround</link>
	<description>Everything You Never Wanted To Know</description>
	<lastBuildDate>Thu, 02 Feb 2012 13:25:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: jim</title>
		<link>http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/comment-page-1#comment-1120</link>
		<dc:creator>jim</dc:creator>
		<pubDate>Thu, 02 Feb 2012 13:25:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/#comment-1120</guid>
		<description>Chris,

I had linked to that bit about recode in my original post ( http://www.pingle.org/2006/10/18/php-crashes-extensions ) but you are right, unless it&#039;s really required, it&#039;s probably best to just do away with recode entirely.

Jim</description>
		<content:encoded><![CDATA[<p>Chris,</p>
<p>I had linked to that bit about recode in my original post ( <a href="http://www.pingle.org/2006/10/18/php-crashes-extensions" rel="nofollow">http://www.pingle.org/2006/10/18/php-crashes-extensions</a> ) but you are right, unless it&#8217;s really required, it&#8217;s probably best to just do away with recode entirely.</p>
<p>Jim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/comment-page-1#comment-1119</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Thu, 02 Feb 2012 13:21:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/#comment-1119</guid>
		<description>Just thought I&#039;d chip in with my findings - php-recode is the culprit in most cases, and has been for almost 10 years.

It&#039;s even documented:

http://www.php.net/manual/en/recode.requirements.php
http://www.php.net/manual/en/recode.installation.php

I&#039;ve been struggling with this since 2002 or so, and every time it is recode that causes problems. Removing recode fixes everything. And - when iconv and mbstring do the same thing (more or less), there&#039;s really no reason to keep recode in the mix.</description>
		<content:encoded><![CDATA[<p>Just thought I&#8217;d chip in with my findings &#8211; php-recode is the culprit in most cases, and has been for almost 10 years.</p>
<p>It&#8217;s even documented:</p>
<p><a href="http://www.php.net/manual/en/recode.requirements.php" rel="nofollow">http://www.php.net/manual/en/recode.requirements.php</a><br />
<a href="http://www.php.net/manual/en/recode.installation.php" rel="nofollow">http://www.php.net/manual/en/recode.installation.php</a></p>
<p>I&#8217;ve been struggling with this since 2002 or so, and every time it is recode that causes problems. Removing recode fixes everything. And &#8211; when iconv and mbstring do the same thing (more or less), there&#8217;s really no reason to keep recode in the mix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/comment-page-1#comment-1116</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 25 Jan 2012 18:51:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/#comment-1116</guid>
		<description>I had the same problem and tried the re-ordering script on 4 different FreeBSD machines that had the *same* configuration and it worked on some but not on others. Very confusing.

Finally, the solution (for me) was that the extensions could be in any order whatsoever but I had to do a full apache stop + start to stop the segfaults; apache graceful or restart was simply not enough.

WFM; YMMV</description>
		<content:encoded><![CDATA[<p>I had the same problem and tried the re-ordering script on 4 different FreeBSD machines that had the *same* configuration and it worked on some but not on others. Very confusing.</p>
<p>Finally, the solution (for me) was that the extensions could be in any order whatsoever but I had to do a full apache stop + start to stop the segfaults; apache graceful or restart was simply not enough.</p>
<p>WFM; YMMV</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ohauer</title>
		<link>http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/comment-page-1#comment-1044</link>
		<dc:creator>ohauer</dc:creator>
		<pubDate>Sun, 03 Apr 2011 18:39:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/#comment-1044</guid>
		<description>Thanks for the great Idea.

With the information on your and Rob&#039;s site I hacked a new script together.
http://people.freebsd.org/~ohauer/scripts/fixphpextorder.sh

Thanks,
olli</description>
		<content:encoded><![CDATA[<p>Thanks for the great Idea.</p>
<p>With the information on your and Rob&#8217;s site I hacked a new script together.<br />
<a href="http://people.freebsd.org/~ohauer/scripts/fixphpextorder.sh" rel="nofollow">http://people.freebsd.org/~ohauer/scripts/fixphpextorder.sh</a></p>
<p>Thanks,<br />
olli</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/comment-page-1#comment-1034</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Sat, 22 Jan 2011 00:11:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/#comment-1034</guid>
		<description>I somehow clobbered my extensions.ini, this helped me out tremendously!

Thanks,
Nick</description>
		<content:encoded><![CDATA[<p>I somehow clobbered my extensions.ini, this helped me out tremendously!</p>
<p>Thanks,<br />
Nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/comment-page-1#comment-975</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Tue, 03 Nov 2009 16:10:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/#comment-975</guid>
		<description>Jim,

Thanks for the script; it didn&#039;t solve my problem, but it pushed me in the right direction.

I documented my steps here, for those who are interested: http://nerdstock.org/php_extensions

Cheers,
  Rob</description>
		<content:encoded><![CDATA[<p>Jim,</p>
<p>Thanks for the script; it didn&#8217;t solve my problem, but it pushed me in the right direction.</p>
<p>I documented my steps here, for those who are interested: <a href="http://nerdstock.org/php_extensions" rel="nofollow">http://nerdstock.org/php_extensions</a></p>
<p>Cheers,<br />
  Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rusty Nejdl</title>
		<link>http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/comment-page-1#comment-967</link>
		<dc:creator>Rusty Nejdl</dc:creator>
		<pubDate>Fri, 16 Oct 2009 16:40:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/#comment-967</guid>
		<description>I found that sybase_ct.so needs to be loaded last or else you will also have unknown core dumps.  Scripts execute fine but it cores just like everything else mentioned.

Thanks!
Rusty Nejdl
http://networking.ringofsaturn.com</description>
		<content:encoded><![CDATA[<p>I found that sybase_ct.so needs to be loaded last or else you will also have unknown core dumps.  Scripts execute fine but it cores just like everything else mentioned.</p>
<p>Thanks!<br />
Rusty Nejdl<br />
<a href="http://networking.ringofsaturn.com" rel="nofollow">http://networking.ringofsaturn.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Octavian Ionescu</title>
		<link>http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/comment-page-1#comment-951</link>
		<dc:creator>Octavian Ionescu</dc:creator>
		<pubDate>Wed, 22 Jul 2009 08:35:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/#comment-951</guid>
		<description>again i have now a problem with 5.2.10 version for cli.
i have seen that mssql extension must come after dba extension, otherwise i get &quot;Segmentation fault: 11 (core dumped)&quot; after the script is executed.</description>
		<content:encoded><![CDATA[<p>again i have now a problem with 5.2.10 version for cli.<br />
i have seen that mssql extension must come after dba extension, otherwise i get &#8220;Segmentation fault: 11 (core dumped)&#8221; after the script is executed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathos</title>
		<link>http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/comment-page-1#comment-928</link>
		<dc:creator>Mathos</dc:creator>
		<pubDate>Sun, 17 May 2009 23:37:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/#comment-928</guid>
		<description>Thanks a zillion.
The re-ordering is my problem as well!</description>
		<content:encoded><![CDATA[<p>Thanks a zillion.<br />
The re-ordering is my problem as well!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barry Friedman</title>
		<link>http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/comment-page-1#comment-927</link>
		<dc:creator>Barry Friedman</dc:creator>
		<pubDate>Thu, 14 May 2009 18:35:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/#comment-927</guid>
		<description>I am still trying to solve this problem on one of my servers.

I have tried using the extension reordering script and httpd still core dumps.  The work around that I found, although quite unsatisfactory operationally, nevertheless works and it would be useful to find out why.

I found that if I restart the running httpd using apachectl graceful httpd coredumps.  However if I comment out the LoadModule php5_module and the AddModule mod_php5.c lines, httpd starts and I can then copy back the uncommented version of httpd.conf and do a graceful restart successfully.

Another graceful restart then crashes httpd.

I am running apache 1.3.41 and php5.2.9 on freebsd 7.0

Any ideas?</description>
		<content:encoded><![CDATA[<p>I am still trying to solve this problem on one of my servers.</p>
<p>I have tried using the extension reordering script and httpd still core dumps.  The work around that I found, although quite unsatisfactory operationally, nevertheless works and it would be useful to find out why.</p>
<p>I found that if I restart the running httpd using apachectl graceful httpd coredumps.  However if I comment out the LoadModule php5_module and the AddModule mod_php5.c lines, httpd starts and I can then copy back the uncommented version of httpd.conf and do a graceful restart successfully.</p>
<p>Another graceful restart then crashes httpd.</p>
<p>I am running apache 1.3.41 and php5.2.9 on freebsd 7.0</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

