Operating System - HP-UX
1837208 Members
3372 Online
110115 Solutions
New Discussion

http, php and oracle 9.2.0.3 problem

 
Tammy Liang
Regular Advisor

http, php and oracle 9.2.0.3 problem

Hi
I tried to setup hpws suite A.2.0.49 on hpux 11.11. I can not get oci8 work correctly.

I posted the apachectl and error_log files.
Below is part of apachectl file:
export ORACLE_HOME=/users/oracle/product/9.2.0
export ORACLE_SID=ora
export SHLIB_PATH=$ORACLE_HOME/lib32:$APACHE_PREFIX/php/lib/php/extensions:$SHLI
B_PATH

Below is part of apache error_log:
PHP Warning: Unknown(): Unable to load dynamic library '/opt/hpws/apache/php/lib/php/extensions/oci8.sl' - Bad magic number for shared library: /users/oracle/product/9.2.0/lib/libwtc9.sl in Unknown on line 0
[Fri Jul 09 14:12:36 2004] [notice] Apache/2.0.49 HP-UX_Apache-based_Web_Server
Fri Jul 09 14:12:36 2004] [notice] Apache/2.0.49 HP-UX_Apache-based_Web_Server (Unix) DAV/2 PHP/4.3.4 configured -- resuming normal operations


As you can see I do define lib32 in apachectl file. I don't know how oci8 is looking libwtc9.sl at lib, instead of lib32

Thanks for any help...
take easy, enjoy life