Hi,

 I have very little knowledge working with php and apache server. I want my php application to be connected to oracle. I already have the apache server with php enabled. After making couple of chages given is some websites , I used  the ocilogon() to connect to oracle. But still  it say's that the module is not found.

  So i thought of installing a new php with all the modules . I have oracle client installed on my unix box. So when i run the

 ./configure --prefix=/home/v024968/php  --disable-libxml  --with-apxs=/home/xttools/apache/bin/apxs --with-oci8=/home/oracle/ora9_client  .

Everything works fine but gives me some error which the configure file is not able to figure out.

The debug.log file has the following information
CONFIGURE:   './configure' '--prefix=/home/v024968/php' '--disable-libxml' '--with-apxs=/home/xttools/apache/bin/apxs' '--with-oci8=/
home/oracle/ora9_client'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS
CXX:
CXXFLAGS:
INCLUDES:    -I/home/oracle/ora9_client/rdbms/demo
LDFLAGS:     -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3 -L/usr/local/lib/gcc-lib/sparc-sun-sola
ris2.8/2.95.3 -R/home/oracle/ora9_client/lib -L/home/oracle/ora9_client/lib
LIBS:       -lresolv -lm -ldl -lnsl -lsocket  -lgcc -lnsl -lsocket -lgen -ldl -lclntsh
DLIBS:
SAPI:       apache
PHP_RPATHS:  /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3 /home/oracle/ora9_client/lib
uname -a:   SunOS nydoesd1-cmc 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-4

gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS  -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3 -R/home/oracle/ora9_client/lib -L/home/oracle/ora9_client/lib conftest.c -lresol
v -lm -ldl -lnsl -lsocket  -lgcc -lnsl -lsocket -lgen -ldl -lclntsh 1>&5
ld: fatal: file /home/oracle/ora9_client/lib/libclntsh.so: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status




Can you let me know if there is any other way to include the ocilogin module to work with my apache without installing a new version of php.
Thanks for your help.


Thanks & Regards
Praveen, Reddy
(212)-623-6524

Reply via email to