note 36366 added to ref.oci8

From: Date: Tue, 07 Oct 2003 15:43:03 +0000
Subject: note 36366 added to ref.oci8
Groups: php.notes 
Request: Send a blank email to php-notes+get-57969@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/ref.oci8.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+36366 Delete -- http://master.php.net/manage/user-notes.php?action=delete+36366&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+36366&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#57969) next »