mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 17:08:54 +00:00
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
This commit is contained in:
parent
fe77fc2d22
commit
90253a7e38
1 changed files with 33 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue