'Unable to read from thread kernel pipe' error in Apache

Alex Dupre ale at FreeBSD.org
Thu Jul 29 23:52:45 PDT 2004


Will McCutcheon wrote:

> Pardon my ignorance, but isn't the Apache 2 port built with prefork by 
> default?

Yes. And if you use apache2 prefork, php is not compiled with threaded libs:

# ldd /usr/local/libexec/apache2/libphp5.so
/usr/local/libexec/apache2/libphp5.so:
         libcrypt.so.2 => /lib/libcrypt.so.2 (0x282af000)
         libm.so.2 => /lib/libm.so.2 (0x282c8000)
         libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x282e2000)
         libz.so.2 => /lib/libz.so.2 (0x283e3000)
         libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x283f4000)

With php4 there are even less libraries.

-- 
Alex Dupre


More information about the freebsd-ports mailing list