Operating System - HP-UX
1830178 Members
15297 Online
109999 Solutions
New Discussion

Apache PHP and Oracle on hpux 11.11

 
Kim_18
Advisor

Apache PHP and Oracle on hpux 11.11

I am having a terrible time trying to compile PHP 5.2.6 with oracle 10.2.

export ORACLE_HOME=/oracle/app/oracle/product/10.2

I configure and install apache
./configure --prefix=/apps/apache2 \
--enable-module=so
make
make install

then I go to php
./configure \
--with-apxs2=/apps/apache2/bin/apxs \
--with-config-file-path=/apps/apache2/conf \
--enable-ftp --with-oci8=$ORACLE_HOME \
--enable-sigchild

make
make install


Everything goes well until I do the make install for php - I them get

Installing PHP SAPI module: apache2handler
/apps/apache2/build/instdso.sh SH_LIBTOOL='/apps/apache2/build/libtool' libphp5.la /apps/apache2/modules
/apps/apache2/build/libtool --mode=install cp libphp5.la /apps/apache2/modules/
cp .libs/libphp5.lai /apps/apache2/modules/libphp5.la
cp .libs/libphp5.a /apps/apache2/modules/libphp5.a
chmod 644 /apps/apache2/modules/libphp5.a
ranlib /apps/apache2/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish /depot/php-5.2.6/libs'
Warning! dlname not found in /apps/apache2/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /apps/apache2/modules/libphp5.so
chmod: can't access /apps/apache2/modules/libphp5.so
apxs:Error: Command failed with rc=65536
.
*** Error exit code 1

Stop.

I have looked at many different web sites that contain this error but none seem to help in this situation. Anyone have any ideas or suggestions.