php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #914 Apache eats the CPU (~98%) when I compile Velocis support into PHP.
Submitted: 1998-11-13 02:32 UTC Modified: 1999-04-19 04:45 UTC
From: orj at ihug dot co dot nz Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.5 OS: Linux (RedHat 5.1)
Private report: No CVE-ID: None
 [1998-11-13 02:32 UTC] orj at ihug dot co dot nz
Installed Apache 1.3.3 from RedHat 5.2 on a 5.1 system.  Download the source RPM to mod_php3 from RedHat.  Modify the .spec file so configure is run like this:

LDFLAGS=-L/home/raima/bin ./configure --prefix=/usr \
        --with-velocis=/home/raima \
        --with-apxs="/usr/sbin/apxs -L/home/raima/bin" \
        --with-config-file-path=/usr/lib \
        --enable-debug=no \
        --enable-safe-mode \
        --with-exec-dir=/usr/bin \
        --with-system-regex

Add /home/raima/bin to /etc/ld.so.conf
Build RPM.  Install RPM.
/etc/rc.d/init.d/httpd restart
HTTPD doesn't fork it's children and eats the CPU.

RedHat 5.1
Apache 1.3.3
PHP3 3.0.5
Velocis 2.0.349

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-04-19 04:45 UTC] rasmus
I don't think this is a problem anymore.  Try Apache-1.3.6 and PHP-3.0.7 and follow the INSTALL.REDHAT instructions available in the php tarball.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 14:01:31 2024 UTC