note 50278 added to ref.oci8
| From: | kucerarathhmidotorg at osu1 dot php dot net | Date: | Wed, 23 Feb 2005 16:29:19 +0000 |
| Subject: | note 50278 added to ref.oci8 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-85441@lists.php.net to get a copy of this message | ||
Great Solaris patch! Finally built. Here's some tips on connecting:
Just made this on solaris8 32bit, actually works.
1) put everything in one directory
2) unsetenv ORACLE_HOME
3) set the env vars LD_LIBRARY_PATH and SQLPATH and TNS_ADMIN(if you have it) to that directory.
4) use one of the other easy connection notations here
http://www.oracle.com/technology/
docs/tech/sql_plus/10102/readme_ic.htm
These env vars worked when put at the top of apachectl script as well.
To build you may have to fake it out with an ORACLE_HOME var, but unset it later. You may also
have to fake out the build by putting header files where it is looking for them, e.g. in the
rdbms/demo directory or some such other place.
When running though, make sure you have only the files required in only one directory.
Oracle has not put up a link to the 32bit solaris sqlplus--you have to guess it--it's there
though:
http://download.oracle.com/otn/solaris/instantclient/
instantclient-sqlplus-solaris32-10.1.0.3.zip
...and don't forget to add ".world" on to the end of your SID. It's very common
to have to specify DBNAME.WORLD to connect.
----
Manual Page -- http://www.php.net/manual/en/ref.oci8.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50278
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50278&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50278&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50278&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50278&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50278&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50278&report=yes
Search -- http://master.php.net/manage/user-notes.php