note 87174 added to function.oci-connect

From: Date: Sat, 22 Nov 2008 17:35:18 +0000
Subject: note 87174 added to function.oci-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-146831@lists.php.net to get a copy of this message
Hi, I use Oracle Database 10g Express Edition Release 10.2.0.1.0 on a Linux workstation for dev purposes, along with Apache 2 and PHP5. So far I have used it on Kubuntu 8.04. To get things working on a recently installed notebook with openSUSE 11.0 was a bit more complicated. So I hope someone will be able to benefit from our experiences. Here is our howto: # Use the package manager to install the packages php5-pear and php5-dev, if not installed yet. # Download the instantclient_11_1, zip files basic, sdk, sqlplus from the Oracle web site # Switch to user root here, since not all commands to some work sudo # Unzip these files to /opt/oracle/. # As a result you will see a dir instantclient_11_1 appearing. ln -s /opt/oracle/instantclient_11_1/libclntsh.so.11.1 \ /opt/oracle/instantclient_11_1/libclntsh.so ln -s /opt/oracle/instantclient_11_1/libclntsh.so.11.1 \ /usr/lib/libclntsh.so ln -s /opt/oracle/instantclient_11_1/libnnz11.so \ /usr/lib/libnnz11.so ldconfig # to make sure the system will be able to find the libs pecl install oci8 # interactively enter option 1, # then instantclient,/opt/oracle/instantclient_11_1, # then enter # if needed, add extension=oci8.so to your php.ini /etc/init.d/apache2 reload # finished! Kind regards, Nico den Boer ---- Server IP: 69.147.83.197 Probable Submitter: 213.235.169.122 ---- Manual Page -- http://www.php.net/manual/en/function.oci-connect.php Edit -- https://master.php.net/note/edit/87174 Del: integrated -- https://master.php.net/note/delete/87174/integrated Del: useless -- https://master.php.net/note/delete/87174/useless Del: bad code -- https://master.php.net/note/delete/87174/bad+code Del: spam -- https://master.php.net/note/delete/87174/spam Del: non-english -- https://master.php.net/note/delete/87174/non-english Del: in docs -- https://master.php.net/note/delete/87174/in+docs Del: other reasons-- https://master.php.net/note/delete/87174 Reject -- https://master.php.net/note/reject/87174 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#146831) next »