#17566 [Opn->Fbk]: phpinfo() causes load of 2+
| From: | iliaa@php.net | Date: | Mon, 30 Sep 2002 03:55:17 +0000 |
| Subject: | #17566 [Opn->Fbk]: phpinfo() causes load of 2+ | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-20747@lists.php.net to get a copy of this message | ||
ID: 17566
Updated by: iliaa@php.net
Reported By: msopacua@idg.nl
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: BSD/OS 4.2
PHP Version: 4.2.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-06-03 08:08:11] msopacua@idg.nl
About the Apache-2 comment:
I haven't been able to use it for anything else than an image server,
since neither mod_perl nor php work well.
Indeed - threads and dynamic linking are a different flavour on BSD/OS.
SIGHUP and SIGUSR are broken in apache2 without php as well, but they
do a SIGTERM/SIGKILL and are then able to restart. With php compiled in
this breaks with a segfault.
Configure options:
$ cat ../httpd-2.0.36/configure-cmd.sh ./configure-cmd.sh
#!/bin/bash
CFLAGS=-g \
./configure \
--prefix=/aphack2 \
--disable-threads \
--with-port=8080 \
--with-mpm=prefork \
--disable-file-cache \
--enable-charset-lite \
--disable-cache \
--disable-disk-cache \
--disable-mem-cache \
--enable-ext-filter \
--enable-deflate \
--with-z=/weblib/local \
--disable-include \
--enable-expires \
--enable-headers \
--enable-usertrack \
--enable-unique-id \
--disable-proxy \
--disable-proxy-connect \
--disable-proxy-ftp \
--disable-proxy-http \
--disable-ssl \
--enable-http \
--enable-info \
--enable-cgi \
--enable-speling \
--disable-rewrite \
--enable-so \
--enable-dav=no \
--enable-shared=max
#!/bin/bash
SHELL=/bin/bash \
./configure \
--prefix=/phphack2 \
--with-config-file-path=/phphack2/lib \
--enable-debug \
--enable-magic-quotes \
--enable-sockets \
--enable-cli \
--enable-session \
--disable-short-tags \
--with-apxs2=/aphack2/bin/apxs \
--with-mysql=/weblib/local \
--with-pear \
--without-xml \
--with-pic \
--without-tsrm
------------------------------------------------------------------------
[2002-06-03 07:36:39] sniper@php.net
What were the configure lines for both Apache2 and PHP ??
Someone said that Apache2 doesn't quite work with BSD?
(depends which MPM is used)
------------------------------------------------------------------------
[2002-06-03 03:38:31] msopacua@idg.nl
Nope - still there.
php4-200206021800
Additionally - it may or may not be related - there's no info whatsover
reported on the Apache2 SAPI, in phpinfo(). Just the header 'Apache 2'.
------------------------------------------------------------------------
[2002-06-02 19:02:09] sniper@php.net
Please try the latest CVS snapshot from http://snaps.php.net/ as
I
think this is fixed already.
------------------------------------------------------------------------
[2002-06-02 10:20:58] msopacua@idg.nl
Requesting phpinfo() takes the machine load to 2+ and it never gets
back, until apache is stopped. I have ktrace output, for anybody that
wants it and seems to contain a lot of '(semop|select) -1 errno 4
Interrupted system call' lines.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17566&edit=1