SuSE Linux 9 / Apache 2 / PHP 5.1.2 / Oracle 10g Client

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
solodesignz
Forum Newbie
Posts: 10
Joined: Thu Jan 26, 2006 7:12 pm

SuSE Linux 9 / Apache 2 / PHP 5.1.2 / Oracle 10g Client

Post by solodesignz »

Hi,

I have been having some major problem installing PHP5 with Oracle support on SuSE Linux. I basically followed thes instructions:
http://www.aditus.nu/jpgraph/apache2suse.php

These instructions work fine, and a install of Apache2, PHP4, then changing it to a PHP5 install works great. I get the apache server up and running with php5 perfectly.

The problem comes when I try to configure PHP5 with OCI8 support. It configures and makes the .so file just fine, but when I try to start the apache server i get this error:

Code: Select all

xxxxxx:/var/log # /etc/init.d/apache2 start
Starting httpd2 (prefork) /etc/init.d/apache2: line 1:  8352 Segmentation fault
     /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL -Dyou_server -t

The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL -Dyou_server
                                                                     failed
If i reconfigure php w/o the oracle support, then apache runs fine. So im guessing it has something to do with the oracle.

The configure line I am running is as follows:

Code: Select all

./configure \
--with-oci8=instantclient,/usr/lib/oracle/10.2.0.1/client/lib \
--prefix=/usr/share \
--datadir=/usr/share/php \
--bindir=/usr/bin \
--with-apxs2=/usr/sbin/apxs2-prefork \
--libdir=/lib/share \
--includedir=/usr/include \
--bindir=/usr/bin \
--with-config-file-path=/etc/php5 \
--with-xml --with-libxml-dir=/etc/php5 \
--enable-sigchild
Removing the "--with-oci8=instantclient,/usr/lib/oracle/10.2.0.1/client/lib \" line and PHP works fine.

The oracle 10g Instant Client is installed correctly I beleive, because if it wasnt, then PHP would give me an error when I run the configure, but it locates the files it needs and says its working....

I have done tons of searching, and found just a couple related issues, but they either wernt solved, or it doesnt relate to this case...

Please could someone help me with this?? Thanks alot!!
solodesignz
Forum Newbie
Posts: 10
Joined: Thu Jan 26, 2006 7:12 pm

Post by solodesignz »

Bump -- Anyone checking the forms today that can help??

- Thanks
Post Reply