<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>bigjim-network &#187; centos</title>
	<atom:link href="http://bigjim-network.be/tag/centos/feed/" rel="self" type="application/rss+xml" />
	<link>http://bigjim-network.be</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 09:43:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Oracle from PHP on Centos 5</title>
		<link>http://bigjim-network.be/2009/06/02/oracle-from-php-on-centos-5/</link>
		<comments>http://bigjim-network.be/2009/06/02/oracle-from-php-on-centos-5/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 09:27:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[instant-client]]></category>
		<category><![CDATA[oci8]]></category>

		<guid isPermaLink="false">http://bigjim-network.be/?p=56</guid>
		<description><![CDATA[1) install apache, php &#8230; yum install httpd php php-mysql php-pear php-devel zlib zlib-devel yum groupinstall &#171;&#160;Development Tools&#160;&#187; 2) Download and install oracle instant client (basic and devel) from there: http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html rpm -Uvh oracle-instantclient-basic-&#60;VERSION&#62;.i386.rpm rpm -Uvh oracle-instantclient-devel-&#60;VERSION&#62;.i386.rpm 3) Add the Oracle instant client to dynamic linker echo /usr/include/oracle/&#60;VERSION&#62;/client/lib/ &#62; /etc/ld.so.conf.d/oracle_client.conf ldconfig -v 4) Untar the [...]]]></description>
			<content:encoded><![CDATA[<p>1) install apache, php &#8230;</p>
<p>yum install httpd php php-mysql php-pear php-devel zlib zlib-devel<br />
yum groupinstall &laquo;&nbsp;Development Tools&nbsp;&raquo;</p>
<p>2) Download and install oracle instant client (basic and devel) from there:</p>
<p>http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html</p>
<p>rpm -Uvh oracle-instantclient-basic-&lt;VERSION&gt;.i386.rpm<br />
rpm -Uvh oracle-instantclient-devel-&lt;VERSION&gt;.i386.rpm</p>
<p>3) Add the Oracle instant client to dynamic linker</p>
<p>echo /usr/include/oracle/&lt;VERSION&gt;/client/lib/ &gt; /etc/ld.so.conf.d/oracle_client.conf<br />
ldconfig -v</p>
<p>4) Untar the PECL package and prepare it for compiling</p>
<p>tar -xzvf oci-&lt;VERSION&gt;.tgz<br />
cd oci-&lt;VERSION&gt;<br />
phpize</p>
<p>5) Configure the PECL package as a shared object using the instant client and specifying where the Oracle client libraries are. Then build and install it.</p>
<p>./configure &#8211;with-oci8=shared,instantclient,/usr/lib/oracle/&lt;VERSION&gt;/client/lib<br />
make<br />
make install</p>
<p>6) Add the library shared object for PHP</p>
<p>echo extension=oci8.so &gt; /etc/php.d/oci8.ini</p>
<p>7) Start Apache</p>
<p>&#8216;service httpd start&#8217; _or_ &#8216;/etc/init.d/httpd restart&#8217;</p>
<p> <img src='http://bigjim-network.be/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Create a PHP info page and checked to see if the Oracle (oci8) driver is listed:</p>
<p>echo &lt;? phpinfo(); ?&gt; &gt; /var/www/html/phpinfo.php</p>
]]></content:encoded>
			<wfw:commentRss>http://bigjim-network.be/2009/06/02/oracle-from-php-on-centos-5/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

