Re: [PHP4BETA] PHP4B3+ORACLE8i+LINUXRH6.1+APACHE1.3.9 does not work

From: Date: Thu, 02 Dec 1999 19:07:02 +0000
Subject: Re: [PHP4BETA] PHP4B3+ORACLE8i+LINUXRH6.1+APACHE1.3.9 does not work
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-7261@lists.php.net to get a copy of this message
the 3th time i post this into the list.... found this on technet: -------------------------------- Re: OCI 7 calls don't work with 8i From: Michael Hasenstein (guest) Email: mha@suse.de Date: Fri Oct 29 13:12 CDT 1999 Helmut Swaczinna (guest) wrote: : When I compile and run the OCI demo progs which uses the Oracle 7 : OCI calls under Oracle 8.1.5, the progs crash with segmentation : fault. With Oracle 8.0.5 they work fine. When I compile the : demo progs under 8.0.5 und run them under 8.1.5 they crash too. : Any hints? I have to port an application which uses OCI 7 calls : to Oracle 8.1.5, because Oracle 8.0.5 don't work under glibc2.1. See my patch for 8i at http://www.suse.de/~mha/oracle/ We patched the assembler code in libclient.a, which is wrong. After recreating libclntsh.so everything works fine. I think I posted the patch script here some time ago... MH, currently at Oracle, in Redwood City, CA -------------------------------- i hav not installed 8i yet - please check i this works. tc On Thu, 2 Dec 1999, Pedro Maló wrote: > > I'm trying to use PHP4B3 on a Linux RedHat 6.1 Box, along with > **ORACLE8i** support through php oci7 calls. > I've already tried with PHP3 and it gave me the same result. > > The tests I've done were: > > 1-PHP as a apache module > > When I try to create a module all works fine, but when I launch Apache it > simply does not run. > The procedure I'm using is: > > ./configure -with-apxs=/usr/sbin/apxs --with-oracle -enable-track-vars --> > in PHP4B3 source dir > make --> in PHP4B3 source dir > --> here it says in the end something like > /usr/bin/ld: warning: type and size of dynamic symbol 'ofetch' are not > defined > and for all other calls, 'oclose', 'olog', 'oopen', etc. > > /etc/rc.d/init.d restart > > and HTTPD does not run at all. > > (I've tried also PHP3 as an apache module and the problem is the same) > (I've also tried to build PHP into apache, but it still doesn't work) > > 2-PHP and a standalone executable > > In this way the build work fine, but when I run a script that access the > oracle call it gives me > segmentation fault in PHP4B3. > > The procedure I'm using is: > > ./configure --with-oracle -enable-track-vars --> in PHP4B3 source dir > make --> in PHP4B3 source dir > --> here it says in the end something like > /usr/bin/ld: warning: type and size of dynamic symbol 'ofetch' are not > defined > and for all other calls, 'oclose', 'olog', 'oopen', etc. > > and then I run the script using 'php index.php', results in a segmentation > fault error. > > the script is simply: > <?php $Link_ID=ora_plogon("user/pwd@database",""); ?> > > - > > I'm thinking it is a dymanic library problem, but I do not know what are > the libraries needed by PHP4B3 oracle module, so if anyone can supply me > with the list I could check it out. > > Can anyone point me into the correct procedure? > > NOTE: > I've had one more problem when installing ORACLE8i. It didn't install the > demo dir where the oratypes.h resides. Anyone got the same problem? I've > installed it using the runInst.sh and not the other one because for some > reason I could not get JRE(java runtime environment) to work properly. Any > comments on this? > > Pedro Miguel Negrao Malo | WWW: > http://www.dee.fct.unl.pt/~pmm > E-mail: pmm@uninova.pt | alternate E-mail: pmm@dee.fct.unl.pt > Phone: (+351+21)2948500 ext3740 | Fax: (+351+21)2957786 > UNINOVA Institute | Inteligent Robotics Center > Faculty of Science and Technology | New University of Lisbon > 2825 Monte Caparica | PORTUGAL > > -- > ---- > Help us to find alien civilizations, join SETI@home effort at > http://setiathome.ssl.berkeley.edu > Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.version4 (#7261) next »