ja**************************@THANKSgmail.com wrote:
Can someone outline the
steps I need to take, or provide a link to a tutorial for a setup
similar to this one?
I ran it with instantclient and xampp (PHP 5.0.3) on Windows without
having to build anything.
If you don't have an oracle install yet, try putting Oracle Instant
Client, instantclient, on the PHP box and test connect using sqlplus,
make sure that works. Then some of the tips below may help.
I got OCI8 working on Windows, albeit with the prebuilt xampp stack.
http://www.oracle.com/technology/pub...p_instant.html
A patch to fix the distro for PHP 5 is given in the manual comments:
http://us2.php.net/oci8
The patch is here, I've built with this:
http://www.pubanz.de/jakob/php5_ociclient.zip
This part of the message is to post tips for Oracle OCI on Solaris:
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.