I've read several messages and articles about php/oci8 combination, but I
still have some issues not resolved.
On this system:
Debian (stable), PHP 4.0.6, Oracle 8.1.7, Apache 1.3.9-14,
I compile php like this:
make | tee -a /tmp/phpbuild.log
make install | tee -a /tmp/phpbuild.log
I ran phpize on ext/oci8 and also ran autoconf on top level of the source
tree, before that.
The problem is that it doesn't build the oci8.so and php_apc.so in the
Anybody knows why that?
What I have already tried:
On the ext source tree I find the oci8.lo and php_apc.lo files. Then, first
I tried to rename them to .so.
And put the following on apache initialization:
export (...all of them)
Result: APC works fine, and so OCI8, BUT...
on apache error.log it tells me oci8 could not be loaded. ("ELF file's
phentsize not the expected size in Unknown on line 0")
Things are working probably just because of the LD_PRELOAD line above.
I've tried then to generate the .so in the right way:
cc -shared -o oci8.so oci8.lo (is it the right way?)
Now apache tells me that oci8.so is a "invalid library (maybe not a PHP
library) on Unknown line 0"
I just want to understand, can somebody help me understand it?
Thank you in advance,
Diego Francisco de Gastal Morales
Técnico em Informática
Equipe de Redes - DI
Tribunal de Justiça do RS
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php