sniper Tue Mar 6 08:40:55 2001 EDT
Modified files:
/phpdoc/en/functions oci8.xml
Log:
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..?
Index: phpdoc/en/functions/oci8.xml
diff -u phpdoc/en/functions/oci8.xml:1.16 phpdoc/en/functions/oci8.xml:1.17
--- phpdoc/en/functions/oci8.xml:1.16 Sat Jan 20 13:08:27 2001
+++ phpdoc/en/functions/oci8.xml Tue Mar 6 08:40:55 2001
@@ -56,6 +56,39 @@
be sure to also add the webserver user (nobody, www) to the oracle
group.
</para>
+ <note>
+ <title>If your webserver doesn't start or crashes at startup</title>
+ <para>
+ Check that Apache is linked with the pthread library:
+ </para>
+ <para>
+ <informalexample>
+ <programlisting>
+# 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)
+ </programlisting>
+ </informalexample>
+ </para>
+ <para>
+ If the libpthread is not listed you have to reinstall Apache:
+ </para>
+ <para>
+ <informalexample>
+ <programlisting>
+# cd /usr/src/apache_1.3.xx
+# make clean
+# LIBS=-lpthread ./config.status
+# make
+# make install
+ </programlisting>
+ </informalexample>
+ </para>
+ </note>
<para>
<example>
<title>OCI Hints</title>