Re: oracle 9i + apache
| From: | Premysl Dedic | Date: | Sun, 26 Aug 2001 15:26:24 +0000 |
| Subject: | Re: oracle 9i + apache | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-11843@lists.php.net to get a copy of this message | ||
Maybe some problems with libraries ...
Add Oracle libs to /etc/ld.so.conf and run ldconfig ... (RedHat distribution, I do not know where is
the config file on Suse ...)
Premysl.Dedic@need.cz
>>> "TDuquette" <tduquette@a-g.fr> 24.8.01 19:23 >>>
Hi
As anyone sucesfully compiled php4 with OCI suport as an apache module on
a Oracle 9i database ?
if so i would be very intersted by some tips on how make it work.
i couldnt make it , on a linux Suse7.2, kernel 2.4.4
i have been able to suceffuly compile php statically, making a symlink from
libclntsh.so.9.0 to libclntsh.so.8.0
if i run "php" as a comand interpreter for a script ,the script will
sucefully use OCI8 function.
hoever this does not seam to work for a php apache module.
apache wont start (at least for me)
i tried on the oracle apache java server, or on the suse pre installed one
..
i olso tried to compile php on this sytem, but using withOCI="dir to an old
copy of oracle8" so it would really link with the v8 librarys ... it dont
works neither.
i havent tried yet to make php as static lib to build apache with it as a
static build-in module.
but this is not really an option i can have on production for that system.(i
have to use a third-party apache binary)