note 23051 added to ref.oci8
| From: | robert at ing dot hb dot se | Date: | Mon, 08 Jul 2002 09:19:53 +0000 |
| Subject: | note 23051 added to ref.oci8 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32728@lists.php.net to get a copy of this message | ||
I had a problem installing PHP with OCI and Orcale support.
The webserver: RedHat 7, Apache, PHP 4.2.1
The dbserver: Solaris 9, Oracle9i
First I had to install the Oracle Client on the webserver, then copy the example src
(dbserver:"opt/Oracle9i/app/oracle/product/9.0.1/rdbms" to webserver
"ORACLE_HOME/rdbms")
Then compile the PHP src, it will generate a lot of errors. If your errors involve faults in the
header files (.h) (oci.h, and more) try to replace the relative path with the absolute path to the
requested headerfile.
(you will probably get more errors then when you started, esp with the oci.h file) after you have
suceeded take a look at tnsnames.ora (needed for taking contact with the dbserver)
--
http://www.php.net/manual/en/ref.oci8.php
http://master.php.net/manage/user-notes.php?action=edit+23051
http://master.php.net/manage/user-notes.php?action=delete+23051
http://master.php.net/manage/user-notes.php?action=reject+23051