From 90253a7e38b6544448350f19cf0fdd1c24c01491 Mon Sep 17 00:00:00 2001 From: foobar Date: Tue, 6 Mar 2001 16:40:55 +0000 Subject: [PATCH] Added notes about what to do if Apache doesn't start after configuring PHP with Oracle. I hope this would reduce the amount of those bug reports coming in about the same problem. This can be changed whenever the problem is really fixed in glibc..? git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@42801 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/oci8.xml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/functions/oci8.xml b/functions/oci8.xml index 65ded9ad80..8bc68fa2b9 100644 --- a/functions/oci8.xml +++ b/functions/oci8.xml @@ -56,6 +56,39 @@ be sure to also add the webserver user (nobody, www) to the oracle group. + + If your webserver doesn't start or crashes at startup + + Check that Apache is linked with the pthread library: + + + + +# ldd /www/apache/bin/httpd + libpthread.so.0 => /lib/libpthread.so.0 (0x4001c000) + libm.so.6 => /lib/libm.so.6 (0x4002f000) + libcrypt.so.1 => /lib/libcrypt.so.1 (0x4004c000) + libdl.so.2 => /lib/libdl.so.2 (0x4007a000) + libc.so.6 => /lib/libc.so.6 (0x4007e000) + /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) + + + + + If the libpthread is not listed you have to reinstall Apache: + + + + +# cd /usr/src/apache_1.3.xx +# make clean +# LIBS=-lpthread ./config.status +# make +# make install + + + + OCI Hints