note 36366 deleted from ref.oci8 by aidan
| From: | aidan@php.net | Date: | Sun, 08 Aug 2004 15:29:35 +0000 |
| Subject: | note 36366 deleted from ref.oci8 by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-74226@lists.php.net to get a copy of this message | ||
Note Submitter: mjahn@agency.at
----
Finally got php4.3.3 with OCI8 for Oracle9.2 working in apache under HP-UX 11.22 (IA64). I had a
tough time achieving this, maybe somebody else finds the hints useful.
* First you need to hack the configure file, maybe thats solved by now but once it detects HP-UX it
believes that you got a PA-RISC machine runnnig. I messed so much around with this file so i cant
really say what helped and what not. What i did: replace all .sl to .so, changed
lt_cv_deplibs_check_method to pass_all, changed dynamic linker to $host_os dld.so.
* set your Oracle Environment
* export LDFLAGS=-L$ORACLE_HOME/lib32
* ./configure --with-apache=/path/to/apache --with-oci8 --with-oracle
* when doing make install as different user(root probably) remember to set Oracle Environment and
LDFLAGS
* fix environment to have the include and lib directories of php used
* i had to hack src/modules/php/libphp4.module to have $ORACLE_HOME/lib32 used
* remember to install php as static module for apache
Hope i rembered everything right and it helps.