Hello I am having problems connecting to Oracle 9.2.0.3.0 from php. It connects fine but crashes after 3 or four attempts.
My setup is Redhat Advanced Server 2.1 uname -a Linux xxxx.xx.xx 2.4.20 #2 SMP Thu Jun 12 08:35:45 NZST 2003 i686 unknown Server version: Apache/2.0.46 Server built: Jul 2 2003 10:28:07 ldd /opt/httpd/bin/httpd libaprutil-0.so.0 => /opt/httpd//lib/libaprutil-0.so.0 (0x40018000) libexpat.so.0 => /opt/httpd//lib/libexpat.so.0 (0x4002b000) libapr-0.so.0 => /opt/httpd//lib/libapr-0.so.0 (0x40047000) libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40068000) librt.so.1 => /lib/i686/librt.so.1 (0x40099000) libm.so.6 => /lib/i686/libm.so.6 (0x400ac000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x400d0000) libnsl.so.1 => /lib/libnsl.so.1 (0x400fd000) libdl.so.2 => /lib/libdl.so.2 (0x40113000) libc.so.6 => /lib/i686/libc.so.6 (0x40117000) libredhat-kernel.so.1 => /lib/libredhat-kernel.so.1 (0x40253000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) ++++++++++++++++++++++++++++++++++++++++++++++++ I have configured php 4.3.2 with ./configure --with-apxs2=/opt/httpd/bin/apxs --with-oci8=/oracle/ --prefix=/opt/php-4.3.2 --enable-sigchild httpd.conf has LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php php # PHP Syntax Coloring (recommended): AddType application/x-httpd-php-source phps I am setting ORACLE_HOME when I start httpd ++++++++++++++++++++++++++++++++++++++++++++++++++++++ Normal php stuff (e.g) phpinfo and other stuff still works but any page with connection to oracle do not work. Once I restart the http server, things work again for the first 3-4 or four attempts. The error log of apache shows [Thu Jul 03 09:16:53 2003] [notice] child pid 5590 exit signal Segmentation faul t (11) [Thu Jul 03 09:16:53 2003] [notice] child pid 5589 exit signal Segmentation faul t (11) [Thu Jul 03 09:16:53 2003] [notice] child pid 5588 exit signal Segmentation faul t (11) Please let me know what I am doing wrong. cheers Anup -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php