Operating System - HP-UX
1753259 Members
5706 Online
108792 Solutions
New Discussion юеВ

cannont load module oci8.sl with php 5

 
BEULAYGUE Berenice
Occasional Advisor

cannont load module oci8.sl with php 5

Hello,

I'm trying to use php 5 (as delivered by hp
depot software hpuxwsAPACHE A.2.0.54.02 HP-UX Apache-based Web Server) with oracle
module oci8.sl. When I start apache, I get this message :
PHP Warning: PHP Startup: \x7fd@\xa0\x7fd\xb6\x0e\x7fd;x\x7fd@\x90\x7fd\xb6\x16\x7fd;x\x7fd@\x80\x7fd\xb6\x9e: Unable to initialize module\nModu
le compiled with module API=20020429, debug=0, thread-safety=1\nPHP compiled with module API=20041030, debug=0, thread-safety=1\nThese options
need to match\n in Unknown on line 0
[Tue Oct 25 15:24:14 2005] [notice] Apache/2.0.54 HP-UX_Apache-based_Web_Server (Unix) DAV/2 PHP/5.0.4 configured -- resuming normal operations

And module oci8 is not included in phpinfo page.
When I use php 4 (LoadModule php4_module modules/libphp4.so instead of LoadModule php5_module modules/libphp5.so in httpd.conf) all works fine.

Did anyone see this problem and could help me to find a solution?

Thanks for your help,

Berenice Beulaygue
4 REPLIES 4
Sandman!
Honored Contributor

Re: cannont load module oci8.sl with php 5

Take a look at this site:

http://bugs.php.net/bug.php?id=13151

cheers!
BEULAYGUE Berenice
Occasional Advisor

Re: cannont load module oci8.sl with php 5

Hello Sandman,

I'm not compiling anything, I'm use the HP
depot files and add to my config httpd.conf :
LoadModule php5_module modules/libphp5.so
and to my php.ini :
extension=oci8.sl
and to my apachecntl :
export ORACLE_HOME=/appli/oracle9i/9.2.0
export ORACLE_SID=test
export SHLIB_PATH=$ORACLE_HOME/lib32:$APACHE_PREFIX/php/lib/php/extensions:$SHLIB_PATH
export LD_PRELOAD=$LD_PRELOAD:$ORACLE_HOME/JRE/lib/PA_RISC/native_threads/libjava.sl

but when doing same thing with php 4.3, all
is ok. But developpers WANT php 5 ...

please HELP!

Thanks

Berenice
Arunvijai_4
Honored Contributor

Re: cannont load module oci8.sl with php 5

Since HP Webserver (Apache based) is supported by HP, you can place a call with HP to get it resolved.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
BEULAYGUE Berenice
Occasional Advisor

Re: cannont load module oci8.sl with php 5

Hi,

A call is open for two months now ...
I try forums so =)

Thanks

Berenice