<?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: HOW-TO: Install PHP5, OCI8, the Oracle Client v10.2 and SqlPlus on Mac OS X Leopard 10.5.4</title>
	<atom:link href="http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/</link>
	<description>the Blog of</description>
	<lastBuildDate>Tue, 20 Apr 2010 09:38:05 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Celso</title>
		<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/comment-page-1/#comment-6496</link>
		<dc:creator>Celso</dc:creator>
		<pubDate>Sat, 02 Jan 2010 07:34:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=11#comment-6496</guid>
		<description>Greetings! 

I&#039;m having some problems with your script... I have snow leopard, and tried the script more than 10 times now, and it never worked.... I had installed MAMP, but then I realize that MAMP is unnecessary in snow leopard. 

I tried with the original and it didn&#039;t work for me. I&#039;ve been editing the script according to the comments i read, and it still doesn&#039;t work. As Simao, I get nothing with phpinfo() and the test.php. I&#039;ve been trying to spot errors within the installation, and I spotted this one the last time I tried:

libs/libphp5.bundle &amp;&amp; cp libs/libphp5.bundle libs/libphp5.so
i686-apple-darwin10-gcc-4.2.1: =: No such file or directory
make: *** [libs/libphp5.bundle] Error 1

In the end, I get:

Build complete.
Don&#039;t forget to run &#039;make test&#039;.

Installing shared extensions:     /usr/lib/php/extensions/no-debug-non-zts-20090626/



Until now, I made these changes in the script:

1) Replace this line:

#cat makefile &#124; sed &#039;s/CFLAGS_CLEAN = /CFLAGS_CLEAN = -I\/usr\/include -arch ppc -arch i386 -isysroot \/Developer\/SDKs\/MacOSX10.5.sdk \#CFLAGS_CLEAN = /&#039; &gt; makefile1.tmp 

by this one:

cat makefile &#124; sed &#039;s/CFLAGS_CLEAN = /CFLAGS_CLEAN = -I\/usr\/include -arch i386 -isysroot \/Developer\/SDKs\/MacOSX10.5.sdk \#CFLAGS_CLEAN = /&#039; &gt; makefile1.tmp 

2) Replace this line:

cat makefile1.tmp &#124; sed &#039;s/EXTRA_LDFLAGS = /EXTRA_LDFLAGS = -arch ppc -arch i386 -isysroot \/Developer\/SDKs\/MacOSX10.5.sdk -Wl,-syslibroot,\/Developer\/SDKs\/MacOSX10.5.sdk \#EXTRA_LDFLAGS = /&#039; &gt; makefile2.tmp 

by this one:

cat makefile1.tmp &#124; sed &#039;s/EXTRA_LDFLAGS = /EXTRA_LDFLAGS = -arch i386 -isysroot \/Developer\/SDKs\/MacOSX10.5.sdk -Wl,-syslibroot,\/Developer\/SDKs\/MacOSX10.5.sdk -L\/opt\/oracle\/instantclient_10_2 = /&#039; &gt; makefile2.tmp

3) Replace this line:

phpize

by this one:

/usr/bin/phpize

4) I also edited httpd.conf adding these lines:

# Turned on env_module to set Oracle stuff here.
#

SetEnv ORACLE_HOME /opt/oracle/instantclient_10_2
SetEnv LD_LIBRARY_PATH /opt/oracle/instantclient_10_2
SetEnv DYLD_LIBRARY_PATH /opt/oracle/instantclient_10_2
SetEnv TNS_ADMIN /opt/oracle/tns</description>
		<content:encoded><![CDATA[<p>Greetings! </p>
<p>I&#8217;m having some problems with your script&#8230; I have snow leopard, and tried the script more than 10 times now, and it never worked&#8230;. I had installed MAMP, but then I realize that MAMP is unnecessary in snow leopard. </p>
<p>I tried with the original and it didn&#8217;t work for me. I&#8217;ve been editing the script according to the comments i read, and it still doesn&#8217;t work. As Simao, I get nothing with phpinfo() and the test.php. I&#8217;ve been trying to spot errors within the installation, and I spotted this one the last time I tried:</p>
<p>libs/libphp5.bundle &amp;&amp; cp libs/libphp5.bundle libs/libphp5.so<br />
i686-apple-darwin10-gcc-4.2.1: =: No such file or directory<br />
make: *** [libs/libphp5.bundle] Error 1</p>
<p>In the end, I get:</p>
<p>Build complete.<br />
Don&#8217;t forget to run &#8216;make test&#8217;.</p>
<p>Installing shared extensions:     /usr/lib/php/extensions/no-debug-non-zts-20090626/</p>
<p>Until now, I made these changes in the script:</p>
<p>1) Replace this line:</p>
<p>#cat makefile | sed &#8217;s/CFLAGS_CLEAN = /CFLAGS_CLEAN = -I\/usr\/include -arch ppc -arch i386 -isysroot \/Developer\/SDKs\/MacOSX10.5.sdk \#CFLAGS_CLEAN = /&#8217; &gt; makefile1.tmp </p>
<p>by this one:</p>
<p>cat makefile | sed &#8217;s/CFLAGS_CLEAN = /CFLAGS_CLEAN = -I\/usr\/include -arch i386 -isysroot \/Developer\/SDKs\/MacOSX10.5.sdk \#CFLAGS_CLEAN = /&#8217; &gt; makefile1.tmp </p>
<p>2) Replace this line:</p>
<p>cat makefile1.tmp | sed &#8217;s/EXTRA_LDFLAGS = /EXTRA_LDFLAGS = -arch ppc -arch i386 -isysroot \/Developer\/SDKs\/MacOSX10.5.sdk -Wl,-syslibroot,\/Developer\/SDKs\/MacOSX10.5.sdk \#EXTRA_LDFLAGS = /&#8217; &gt; makefile2.tmp </p>
<p>by this one:</p>
<p>cat makefile1.tmp | sed &#8217;s/EXTRA_LDFLAGS = /EXTRA_LDFLAGS = -arch i386 -isysroot \/Developer\/SDKs\/MacOSX10.5.sdk -Wl,-syslibroot,\/Developer\/SDKs\/MacOSX10.5.sdk -L\/opt\/oracle\/instantclient_10_2 = /&#8217; &gt; makefile2.tmp</p>
<p>3) Replace this line:</p>
<p>phpize</p>
<p>by this one:</p>
<p>/usr/bin/phpize</p>
<p>4) I also edited httpd.conf adding these lines:</p>
<p># Turned on env_module to set Oracle stuff here.<br />
#</p>
<p>SetEnv ORACLE_HOME /opt/oracle/instantclient_10_2<br />
SetEnv LD_LIBRARY_PATH /opt/oracle/instantclient_10_2<br />
SetEnv DYLD_LIBRARY_PATH /opt/oracle/instantclient_10_2<br />
SetEnv TNS_ADMIN /opt/oracle/tns</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danilo Vizzarro</title>
		<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/comment-page-1/#comment-6457</link>
		<dc:creator>Danilo Vizzarro</dc:creator>
		<pubDate>Wed, 30 Dec 2009 23:24:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=11#comment-6457</guid>
		<description>Hi Simao,
please execute this command:

# echo $DYLD_LIBRARY_PATH; echo $ORACLE_HOME

What is the output?
Danilo</description>
		<content:encoded><![CDATA[<p>Hi Simao,<br />
please execute this command:</p>
<p># echo $DYLD_LIBRARY_PATH; echo $ORACLE_HOME</p>
<p>What is the output?<br />
Danilo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simao</title>
		<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/comment-page-1/#comment-6443</link>
		<dc:creator>Simao</dc:creator>
		<pubDate>Wed, 30 Dec 2009 05:01:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=11#comment-6443</guid>
		<description>Hi there! Great script but i&#039;m having a problem :/
When i try to run the  sqlplus command i get this error:

dyld: Library not loaded: /b/227/sqlplus/lib/libsqlplus.dylib
  Referenced from: /usr/bin/sqlplus
  Reason: image not found
Trace/BPT trap


Any help on that?

Also, i get nothing on the phpinfo() or the test.php pages.

Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Hi there! Great script but i&#8217;m having a problem :/<br />
When i try to run the  sqlplus command i get this error:</p>
<p>dyld: Library not loaded: /b/227/sqlplus/lib/libsqlplus.dylib<br />
  Referenced from: /usr/bin/sqlplus<br />
  Reason: image not found<br />
Trace/BPT trap</p>
<p>Any help on that?</p>
<p>Also, i get nothing on the phpinfo() or the test.php pages.</p>
<p>Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicosa</title>
		<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/comment-page-1/#comment-4964</link>
		<dc:creator>Nicosa</dc:creator>
		<pubDate>Sun, 06 Sep 2009 15:59:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=11#comment-4964</guid>
		<description>Hello,

Thanks for this HowTo and script. I&#039;ve had problem when &quot;make&quot; for the php part : The sed command did comment too much for EXTRA_LDFLAGS (add to remove the #EXTRA_LDFLAGS to let the &quot;-L /path/to/instant/client&quot; be used. also add to remove &quot;-arch ppc&quot; on both lines modified by sed to avoid some other error).

This done on MacBook Pro (MBP 3.1, MacIntel) with Leopard 10.5.7</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Thanks for this HowTo and script. I&#8217;ve had problem when &#8220;make&#8221; for the php part : The sed command did comment too much for EXTRA_LDFLAGS (add to remove the #EXTRA_LDFLAGS to let the &#8220;-L /path/to/instant/client&#8221; be used. also add to remove &#8220;-arch ppc&#8221; on both lines modified by sed to avoid some other error).</p>
<p>This done on MacBook Pro (MBP 3.1, MacIntel) with Leopard 10.5.7</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danilo Vizzarro</title>
		<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/comment-page-1/#comment-4600</link>
		<dc:creator>Danilo Vizzarro</dc:creator>
		<pubDate>Wed, 19 Aug 2009 10:41:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=11#comment-4600</guid>
		<description>Hi Orlando,
here how I solved the problem using a Linux machine
http://www.danilovizzarro.it/2009/02/troubleshooting-ld_library_path-warning-ocilogon-httpfunctionocilogon-ocienvnlscreate-failed/

On Mac I haven&#039;t tested the solution but should be similar.
BR
Danilo</description>
		<content:encoded><![CDATA[<p>Hi Orlando,<br />
here how I solved the problem using a Linux machine<br />
<a href="http://www.danilovizzarro.it/2009/02/troubleshooting-ld_library_path-warning-ocilogon-httpfunctionocilogon-ocienvnlscreate-failed/" rel="nofollow">http://www.danilovizzarro.it/2009/02/troubleshooting-ld_library_path-warning-ocilogon-httpfunctionocilogon-ocienvnlscreate-failed/</a></p>
<p>On Mac I haven&#8217;t tested the solution but should be similar.<br />
BR<br />
Danilo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: orlando</title>
		<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/comment-page-1/#comment-4555</link>
		<dc:creator>orlando</dc:creator>
		<pubDate>Mon, 17 Aug 2009 04:35:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=11#comment-4555</guid>
		<description>not works!
somebody know why ?

ERROR:
oci_new_connect() [function.oci-new-connect]: OCIEnvNlsCreate() failed. There is something wrong with your system - &lt;b&gt;please check that LD_LIBRARY_PATH&lt;/b&gt; includes the directory with Oracle Instant Client libraries</description>
		<content:encoded><![CDATA[<p>not works!<br />
somebody know why ?</p>
<p>ERROR:<br />
oci_new_connect() [function.oci-new-connect]: OCIEnvNlsCreate() failed. There is something wrong with your system &#8211; <b>please check that LD_LIBRARY_PATH</b> includes the directory with Oracle Instant Client libraries</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: orlando</title>
		<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/comment-page-1/#comment-4549</link>
		<dc:creator>orlando</dc:creator>
		<pubDate>Sun, 16 Aug 2009 22:17:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=11#comment-4549</guid>
		<description>after hours of try, the phpinfo()  show me the OCI8 extension!

all that i do is:
locate oci8.so
and copy this path to the php.ini

in my case:
extension=/usr/lib/php/extensions/oci8.so

now i go to try if is working....</description>
		<content:encoded><![CDATA[<p>after hours of try, the phpinfo()  show me the OCI8 extension!</p>
<p>all that i do is:<br />
locate oci8.so<br />
and copy this path to the php.ini</p>
<p>in my case:<br />
extension=/usr/lib/php/extensions/oci8.so</p>
<p>now i go to try if is working&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Installing Mac OS X (Intel) Oracle Client on Leopard (including PHP OCI configuration) &#171; A bit about everything&#8230;.</title>
		<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/comment-page-1/#comment-4438</link>
		<dc:creator>Installing Mac OS X (Intel) Oracle Client on Leopard (including PHP OCI configuration) &#171; A bit about everything&#8230;.</dc:creator>
		<pubDate>Mon, 10 Aug 2009 16:50:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=11#comment-4438</guid>
		<description>[...] for reference: http://www.oracle.com/technology/pub/articles/bibbs-php-leopard.html and [...]</description>
		<content:encoded><![CDATA[<p>[...] for reference: <a href="http://www.oracle.com/technology/pub/articles/bibbs-php-leopard.html" rel="nofollow">http://www.oracle.com/technology/pub/articles/bibbs-php-leopard.html</a> and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/comment-page-1/#comment-4363</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 06 Aug 2009 14:54:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=11#comment-4363</guid>
		<description>Thanks for sharing your script. The install went well, but I did run into the same problem with the library not being found. I was able to correct that issue using Dequin&#039;s comments above.

Unfortunately I am still having problem connecting to a remote Oracle server using PHP. I have no problem connecting to the same server using SQLPLUS as ROOT. 

The error I am getting is &quot;Fatal error: Call to undefined function oci_new_connect()&quot;

Any ideas what might be causing this issue. It seems like php may not be configured properly but I am not sure. Any help would be greatly appreciated.</description>
		<content:encoded><![CDATA[<p>Thanks for sharing your script. The install went well, but I did run into the same problem with the library not being found. I was able to correct that issue using Dequin&#8217;s comments above.</p>
<p>Unfortunately I am still having problem connecting to a remote Oracle server using PHP. I have no problem connecting to the same server using SQLPLUS as ROOT. </p>
<p>The error I am getting is &#8220;Fatal error: Call to undefined function oci_new_connect()&#8221;</p>
<p>Any ideas what might be causing this issue. It seems like php may not be configured properly but I am not sure. Any help would be greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/comment-page-1/#comment-3349</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Tue, 30 Jun 2009 16:13:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=11#comment-3349</guid>
		<description>How do i make a clean install? As in which files do i have to delete ? :S</description>
		<content:encoded><![CDATA[<p>How do i make a clean install? As in which files do i have to delete ? :S</p>
]]></content:encoded>
	</item>
</channel>
</rss>
