<?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: PHP5 with Oracle client on FreeBSD tutorial</title>
	<atom:link href="http://mrtenente.infosys.lt/blog/?feed=rss2&#038;p=22" rel="self" type="application/rss+xml" />
	<link>http://mrtenente.infosys.lt/blog/?p=22</link>
	<description>IT, kultūra, pastebėjimai</description>
	<lastBuildDate>Wed, 04 Aug 2010 05:57:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Fauzan</title>
		<link>http://mrtenente.infosys.lt/blog/?p=22&#038;cpage=1#comment-12535</link>
		<dc:creator>Fauzan</dc:creator>
		<pubDate>Mon, 26 Apr 2010 02:48:50 +0000</pubDate>
		<guid isPermaLink="false">http://mrtenente.infosys.lt/blog/?p=22#comment-12535</guid>
		<description>Is this article still applicable now? Because I found &#039;Segmentation fault (core dumped)&#039; error in PHP after follow your instruction.
In the other hand, I tried to re-configure PHP with ./configure --with-oci8=/usr/local/oracle8-client but gave this error:
/usr/local/oracle8-client/lib/libclntsh.a(sltst.o)(.text+0x196): In function `sltstcr&#039;:
: undefined reference to `pthread_create&#039;
. . . . .
/usr/local/oracle8-client/lib/libclntsh.a(sepco.o)(.text+0x7d): In function `sepcoget_login&#039;:
: undefined reference to `cuserid&#039;
*** Error code 1
1 error
Stop in /usr/ports/lang/php5.
*** Error code 1

Do you have an idea to fix this issue?
FYI I&#039;m using these OS and application:
FreeBSD 7.2
PHP-5.2.11

Thanks for your help,
#Fauzan</description>
		<content:encoded><![CDATA[<p>Is this article still applicable now? Because I found &#8216;Segmentation fault (core dumped)&#8217; error in PHP after follow your instruction.<br />
In the other hand, I tried to re-configure PHP with ./configure &#8211;with-oci8=/usr/local/oracle8-client but gave this error:<br />
/usr/local/oracle8-client/lib/libclntsh.a(sltst.o)(.text+0&#215;196): In function `sltstcr&#8217;:<br />
: undefined reference to `pthread_create&#8217;<br />
. . . . .<br />
/usr/local/oracle8-client/lib/libclntsh.a(sepco.o)(.text+0x7d): In function `sepcoget_login&#8217;:<br />
: undefined reference to `cuserid&#8217;<br />
*** Error code 1<br />
1 error<br />
Stop in /usr/ports/lang/php5.<br />
*** Error code 1</p>
<p>Do you have an idea to fix this issue?<br />
FYI I&#8217;m using these OS and application:<br />
FreeBSD 7.2<br />
PHP-5.2.11</p>
<p>Thanks for your help,<br />
#Fauzan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Westin Shafer</title>
		<link>http://mrtenente.infosys.lt/blog/?p=22&#038;cpage=1#comment-9297</link>
		<dc:creator>Westin Shafer</dc:creator>
		<pubDate>Wed, 09 Jul 2008 19:13:31 +0000</pubDate>
		<guid isPermaLink="false">http://mrtenente.infosys.lt/blog/?p=22#comment-9297</guid>
		<description>&quot;Has anybody is submited this one to PHP or FREEBSD mailinglist/bug report?&quot;

I did and they only came back with &quot;This is a problem with the pspell extension.&quot;  

While this did cleare up the segfault I was getting in httpd-error.log file it did not clear up the CLI.

I also installed the PDO_OCI driver as well, and it appears that the segfault happends with it too.</description>
		<content:encoded><![CDATA[<p>&#8220;Has anybody is submited this one to PHP or FREEBSD mailinglist/bug report?&#8221;</p>
<p>I did and they only came back with &#8220;This is a problem with the pspell extension.&#8221;  </p>
<p>While this did cleare up the segfault I was getting in httpd-error.log file it did not clear up the CLI.</p>
<p>I also installed the PDO_OCI driver as well, and it appears that the segfault happends with it too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: noisex</title>
		<link>http://mrtenente.infosys.lt/blog/?p=22&#038;cpage=1#comment-8542</link>
		<dc:creator>noisex</dc:creator>
		<pubDate>Tue, 13 May 2008 17:12:20 +0000</pubDate>
		<guid isPermaLink="false">http://mrtenente.infosys.lt/blog/?p=22#comment-8542</guid>
		<description>Hallo!
I have the same problem as many of you described:

FreeBSD 7.0, PHP 5.2.6, PHP5-OCI8 1.2.5, Oracle 8 client 0.2.0_1. (All up2date). So every time when PHP-CLI or PHP-CGI script exits from comandline PHP die with seg.fault 11 (core dumped). I tried to recompile with this one patch http://canonical.wordpress.com/2007/09/12/freebsd-php-oci8-segfault-fix/ but on PHP5.2.6 this didn&#039;t work for me. I hate this entries in /var/log/messages that my php died every time when script exits (i have a lot of scripts which run from CLI in crontab). 

GDB debugger also nothing more than error didn&#039;t tell me:

Program terminated with signal 11, Segmentation fault.
#0  0x88f18acc in ?? ()

So now many scripts i rewrite in perl which using p5-bdb-oracle with no problems or crashes.


Has anybody is submited this one to PHP or FREEBSD mailinglist/bug report?</description>
		<content:encoded><![CDATA[<p>Hallo!<br />
I have the same problem as many of you described:</p>
<p>FreeBSD 7.0, PHP 5.2.6, PHP5-OCI8 1.2.5, Oracle 8 client 0.2.0_1. (All up2date). So every time when PHP-CLI or PHP-CGI script exits from comandline PHP die with seg.fault 11 (core dumped). I tried to recompile with this one patch <a href="http://canonical.wordpress.com/2007/09/12/freebsd-php-oci8-segfault-fix/" rel="nofollow">http://canonical.wordpress.com/2007/09/12/freebsd-php-oci8-segfault-fix/</a> but on PHP5.2.6 this didn&#8217;t work for me. I hate this entries in /var/log/messages that my php died every time when script exits (i have a lot of scripts which run from CLI in crontab). </p>
<p>GDB debugger also nothing more than error didn&#8217;t tell me:</p>
<p>Program terminated with signal 11, Segmentation fault.<br />
#0  0x88f18acc in ?? ()</p>
<p>So now many scripts i rewrite in perl which using p5-bdb-oracle with no problems or crashes.</p>
<p>Has anybody is submited this one to PHP or FREEBSD mailinglist/bug report?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://mrtenente.infosys.lt/blog/?p=22&#038;cpage=1#comment-8496</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Fri, 09 May 2008 02:40:38 +0000</pubDate>
		<guid isPermaLink="false">http://mrtenente.infosys.lt/blog/?p=22#comment-8496</guid>
		<description>If you do a phpinfo() after getting the OCI module built you&#039;ll see that there was no compile-time ORACLE_HOME value set. The module still works fine for me as long as I have ORACLE_HOME set in httpd.conf and in my PHP scripts before I use any OCI functions.</description>
		<content:encoded><![CDATA[<p>If you do a phpinfo() after getting the OCI module built you&#8217;ll see that there was no compile-time ORACLE_HOME value set. The module still works fine for me as long as I have ORACLE_HOME set in httpd.conf and in my PHP scripts before I use any OCI functions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://mrtenente.infosys.lt/blog/?p=22&#038;cpage=1#comment-8495</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Fri, 09 May 2008 02:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://mrtenente.infosys.lt/blog/?p=22#comment-8495</guid>
		<description>Actually...Does setting ORACLE_HOME on the command line have any effect? I believe that building a port wipes out the environment vars so you can&#039;t &quot;pollute&quot; the port build.</description>
		<content:encoded><![CDATA[<p>Actually&#8230;Does setting ORACLE_HOME on the command line have any effect? I believe that building a port wipes out the environment vars so you can&#8217;t &#8220;pollute&#8221; the port build.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://mrtenente.infosys.lt/blog/?p=22&#038;cpage=1#comment-8310</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Wed, 23 Apr 2008 19:23:05 +0000</pubDate>
		<guid isPermaLink="false">http://mrtenente.infosys.lt/blog/?p=22#comment-8310</guid>
		<description>Thanks for the write-up. I have Oracle support apparently working in PHP5 according to phpinfo(), but I have yet to actually do anything with it.</description>
		<content:encoded><![CDATA[<p>Thanks for the write-up. I have Oracle support apparently working in PHP5 according to phpinfo(), but I have yet to actually do anything with it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Snaut</title>
		<link>http://mrtenente.infosys.lt/blog/?p=22&#038;cpage=1#comment-7778</link>
		<dc:creator>Snaut</dc:creator>
		<pubDate>Thu, 06 Mar 2008 09:46:29 +0000</pubDate>
		<guid isPermaLink="false">http://mrtenente.infosys.lt/blog/?p=22#comment-7778</guid>
		<description>Hi! With Apache 2.2.8+PHP5.2.5+oracle-client 1.2.0
i have:
[Thu Mar 06 12:34:52 2008] [notice] child pid 1587 exit signal Bus error (10)
[Thu Mar 06 12:43:07 2008] [notice] child pid 2205 exit signal Bus error (10)

On the php5.2.3+oracle-client 1.1.1 works fine... any ideas?</description>
		<content:encoded><![CDATA[<p>Hi! With Apache 2.2.8+PHP5.2.5+oracle-client 1.2.0<br />
i have:<br />
[Thu Mar 06 12:34:52 2008] [notice] child pid 1587 exit signal Bus error (10)<br />
[Thu Mar 06 12:43:07 2008] [notice] child pid 2205 exit signal Bus error (10)</p>
<p>On the php5.2.3+oracle-client 1.1.1 works fine&#8230; any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justinas Balčiūnas</title>
		<link>http://mrtenente.infosys.lt/blog/?p=22&#038;cpage=1#comment-7683</link>
		<dc:creator>Justinas Balčiūnas</dc:creator>
		<pubDate>Fri, 29 Feb 2008 11:30:41 +0000</pubDate>
		<guid isPermaLink="false">http://mrtenente.infosys.lt/blog/?p=22#comment-7683</guid>
		<description>Thanks for the feedback Tom Weber!</description>
		<content:encoded><![CDATA[<p>Thanks for the feedback Tom Weber!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Weber</title>
		<link>http://mrtenente.infosys.lt/blog/?p=22&#038;cpage=1#comment-7664</link>
		<dc:creator>Tom Weber</dc:creator>
		<pubDate>Thu, 28 Feb 2008 16:21:14 +0000</pubDate>
		<guid isPermaLink="false">http://mrtenente.infosys.lt/blog/?p=22#comment-7664</guid>
		<description>Today I tried to upgrade my 6.2-STABLE to 7.0-RELEASE. I&#039;ve used Oracle together with Perl and DBD::Oracle, wich worked thanks to this tutorial.

After upgrading the libs were broken. SQLPlus was working as expected, but in Perl I got several errors.

I had to rebuild Perl with all modules wich have something to do with Oracle, as well as all Oracle packages. Now it works perfectly again.

So Oracle client under FreeBSD 7.0-RELEASE is reported as success!</description>
		<content:encoded><![CDATA[<p>Today I tried to upgrade my 6.2-STABLE to 7.0-RELEASE. I&#8217;ve used Oracle together with Perl and DBD::Oracle, wich worked thanks to this tutorial.</p>
<p>After upgrading the libs were broken. SQLPlus was working as expected, but in Perl I got several errors.</p>
<p>I had to rebuild Perl with all modules wich have something to do with Oracle, as well as all Oracle packages. Now it works perfectly again.</p>
<p>So Oracle client under FreeBSD 7.0-RELEASE is reported as success!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Westin Shafer</title>
		<link>http://mrtenente.infosys.lt/blog/?p=22&#038;cpage=1#comment-7037</link>
		<dc:creator>Westin Shafer</dc:creator>
		<pubDate>Wed, 23 Jan 2008 19:28:10 +0000</pubDate>
		<guid isPermaLink="false">http://mrtenente.infosys.lt/blog/?p=22#comment-7037</guid>
		<description>Thanks for the how-to.  Oracle is up and running. 

However, we are also experiencing the segfault on freebsd 6.2_RELEASE.  This happens only on exit.  This is also not related to other extensions, as I was able to test OCI8 first before installing the other modules.

Other problems include oci_pconnect will leave connections open indefinitely and oci_close has no effect on these connections.

The fix posted earlier seems to clear up the problem with the segfault, but I wonder how good the fix truly is.   Anyone have any issues once the patch is installed, things like having to restart apache, server, ect?

As a side question,
Has anyone been able to compile the pecl oci8 client instead?</description>
		<content:encoded><![CDATA[<p>Thanks for the how-to.  Oracle is up and running. </p>
<p>However, we are also experiencing the segfault on freebsd 6.2_RELEASE.  This happens only on exit.  This is also not related to other extensions, as I was able to test OCI8 first before installing the other modules.</p>
<p>Other problems include oci_pconnect will leave connections open indefinitely and oci_close has no effect on these connections.</p>
<p>The fix posted earlier seems to clear up the problem with the segfault, but I wonder how good the fix truly is.   Anyone have any issues once the patch is installed, things like having to restart apache, server, ect?</p>
<p>As a side question,<br />
Has anyone been able to compile the pecl oci8 client instead?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
