Page 1 of 1

Solaris 8 + PHP 4.3.2 + Oracle 9i Instalation Hell

Posted: Fri Aug 22, 2003 11:28 am
by damipoo
Hi, we´ve been trying to install PHP with oci8 in Solaris for ours.

The versions of the software we are using are:

Oracle 9.2.0.1.0
PHP 4.3.2
Apache 1.3.28
Solaris 8

We followed the directions from php.net and tried every sugestion in the oci8 manual section.

The farthes we got was full linking of apache and PHP, but when we started Apache with the ORACLE_HOME variable set to the correct directory, we got a core dump without any other message.

This is how we compiled apache + PHP

Code: Select all

./configure --with-apache=../apache_1.3.28 --enable-track-vars 
--with-oracle=/oracle9i  --with-dom --with-zlib  --without-mysql
--with-oci8 --without-pear

make
make install

cd ../apache_1.3.28
 LDFLAGS=-R/usr/opt/csw/lib 
./configure --activate-module=src/modules/php4/libphp4.a

make 
make install

when gdb´ing the httpd process we get

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
0xfe9a0660 in slrac () from /oracle9i/lib/libclntsh.so.9.0
Anyone got any pointers?