<?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>Tue, 01 Dec 2009 14:50:11 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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>
	<item>
		<title>By: jim</title>
		<link>http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/comment-page-1#comment-923</link>
		<dc:creator>jim</dc:creator>
		<pubDate>Tue, 31 Mar 2009 03:30:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/#comment-923</guid>
		<description>If you just recently updated PHP on FreeBSD with the ports system, be sure to read /usr/ports/UPDATING, specifically the 20081211 entry. It is possible you have some extensions that are out of date with respect to the version of PHP you are running.

I saw some errors until I followed the instructions in that entry, forcing an update of pcre (I actually had to rm /usr/local/lib/php/20060613/pcre.so before reinstalling).

There are, unfortuantely, more ways to crash PHP than by extension ordering alone... :)</description>
		<content:encoded><![CDATA[<p>If you just recently updated PHP on FreeBSD with the ports system, be sure to read /usr/ports/UPDATING, specifically the 20081211 entry. It is possible you have some extensions that are out of date with respect to the version of PHP you are running.</p>
<p>I saw some errors until I followed the instructions in that entry, forcing an update of pcre (I actually had to rm /usr/local/lib/php/20060613/pcre.so before reinstalling).</p>
<p>There are, unfortuantely, more ways to crash PHP than by extension ordering alone&#8230; :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yayix</title>
		<link>http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/comment-page-1#comment-922</link>
		<dc:creator>yayix</dc:creator>
		<pubDate>Tue, 31 Mar 2009 03:25:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/#comment-922</guid>
		<description>my original extensions.ini:
extension=pgsql.so
extension=pdf.so
extension=ctype.so
extension=simplexml.so
extension=spl.so
extension=dom.so
extension=filter.so
extension=hash.so
extension=iconv.so
extension=json.so
extension=pdo.so
extension=pdo_sqlite.so
extension=posix.so
extension=session.so
extension=sqlite.so
extension=tokenizer.so
extension=xml.so
extension=xmlreader.so
extension=xmlwriter.so
extension=zip.so
extension=zlib.so

after running fixphpextorder.sh:
extension=pgsql.so
extension=pdf.so
extension=ctype.so
extension=simplexml.so
extension=dom.so
extension=filter.so
extension=hash.so
extension=iconv.so
extension=json.so
extension=pdo.so
extension=pdo_sqlite.so
extension=posix.so
extension=session.so
extension=tokenizer.so
extension=xmlreader.so
extension=xmlwriter.so
extension=zip.so
extension=zlib.so
extension=spl.so
extension=sqlite.so
extension=xml.so

issuing &quot;/usr/local/etc/rc.d/apache2 graceful&quot; gives &quot;Performing a graceful restart&quot;

but &quot;/usr/local/etc/rc.d/apache2 status&quot; says &quot;apache2 is not running.&quot;

httpd-error.log shows:
[notice] Graceful restart requested, doing restart
[notice] seg fault or similar nasty error detected in the parent process
[warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[notice] Apache/2.0.63 (FreeBSD) PHP/5.2.8 with Suhosin-Patch configured -- resuming normal operations

the output of the commands above is the same when i was using my original extensions.ini..

FreeBSD 7.1-STABLE

please help. TIA!</description>
		<content:encoded><![CDATA[<p>my original extensions.ini:<br />
extension=pgsql.so<br />
extension=pdf.so<br />
extension=ctype.so<br />
extension=simplexml.so<br />
extension=spl.so<br />
extension=dom.so<br />
extension=filter.so<br />
extension=hash.so<br />
extension=iconv.so<br />
extension=json.so<br />
extension=pdo.so<br />
extension=pdo_sqlite.so<br />
extension=posix.so<br />
extension=session.so<br />
extension=sqlite.so<br />
extension=tokenizer.so<br />
extension=xml.so<br />
extension=xmlreader.so<br />
extension=xmlwriter.so<br />
extension=zip.so<br />
extension=zlib.so</p>
<p>after running fixphpextorder.sh:<br />
extension=pgsql.so<br />
extension=pdf.so<br />
extension=ctype.so<br />
extension=simplexml.so<br />
extension=dom.so<br />
extension=filter.so<br />
extension=hash.so<br />
extension=iconv.so<br />
extension=json.so<br />
extension=pdo.so<br />
extension=pdo_sqlite.so<br />
extension=posix.so<br />
extension=session.so<br />
extension=tokenizer.so<br />
extension=xmlreader.so<br />
extension=xmlwriter.so<br />
extension=zip.so<br />
extension=zlib.so<br />
extension=spl.so<br />
extension=sqlite.so<br />
extension=xml.so</p>
<p>issuing &#8220;/usr/local/etc/rc.d/apache2 graceful&#8221; gives &#8220;Performing a graceful restart&#8221;</p>
<p>but &#8220;/usr/local/etc/rc.d/apache2 status&#8221; says &#8220;apache2 is not running.&#8221;</p>
<p>httpd-error.log shows:<br />
[notice] Graceful restart requested, doing restart<br />
[notice] seg fault or similar nasty error detected in the parent process<br />
[warn] pid file /var/run/httpd.pid overwritten &#8212; Unclean shutdown of previous Apache run?<br />
[notice] Apache/2.0.63 (FreeBSD) PHP/5.2.8 with Suhosin-Patch configured &#8212; resuming normal operations</p>
<p>the output of the commands above is the same when i was using my original extensions.ini..</p>
<p>FreeBSD 7.1-STABLE</p>
<p>please help. TIA!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KP</title>
		<link>http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/comment-page-1#comment-918</link>
		<dc:creator>KP</dc:creator>
		<pubDate>Tue, 20 Jan 2009 20:46:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/#comment-918</guid>
		<description>Thanks for your helpful post! Although the script didn&#039;t eliminate the error messages, it gave me some ideas. I solved it by removing some modules.</description>
		<content:encoded><![CDATA[<p>Thanks for your helpful post! Although the script didn&#8217;t eliminate the error messages, it gave me some ideas. I solved it by removing some modules.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitriy Redchyts</title>
		<link>http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/comment-page-1#comment-917</link>
		<dc:creator>Dmitriy Redchyts</dc:creator>
		<pubDate>Fri, 16 Jan 2009 12:42:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/#comment-917</guid>
		<description>i have the same os and software
problem of crash apache after apachectl restart gone after i write extension.ini in this order

extension=gettext.so
extension=iconv.so
extension=ldap.so
extension=mysql.so
extension=pcre.so
extension=session.so
extension=xml.so
extension=dom.so
extension=pgsql.so
extension=gd.so
extension=zlib.so
extension=curl.so

maybe its help, sorry for bad english</description>
		<content:encoded><![CDATA[<p>i have the same os and software<br />
problem of crash apache after apachectl restart gone after i write extension.ini in this order</p>
<p>extension=gettext.so<br />
extension=iconv.so<br />
extension=ldap.so<br />
extension=mysql.so<br />
extension=pcre.so<br />
extension=session.so<br />
extension=xml.so<br />
extension=dom.so<br />
extension=pgsql.so<br />
extension=gd.so<br />
extension=zlib.so<br />
extension=curl.so</p>
<p>maybe its help, sorry for bad english</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: georgi iovchev</title>
		<link>http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/comment-page-1#comment-913</link>
		<dc:creator>georgi iovchev</dc:creator>
		<pubDate>Wed, 10 Dec 2008 09:30:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround/#comment-913</guid>
		<description>I have tried this script on my test server ... but it didnt help :(. I still got apache crash on apachectl restart. But not on every restart :))

freebsd 7.0-stable (jul&#039;08 world rebuilded); php 5.2.8; apache 2.0.63</description>
		<content:encoded><![CDATA[<p>I have tried this script on my test server &#8230; but it didnt help :(. I still got apache crash on apachectl restart. But not on every restart :))</p>
<p>freebsd 7.0-stable (jul&#8217;08 world rebuilded); php 5.2.8; apache 2.0.63</p>
]]></content:encoded>
	</item>
</channel>
</rss>
