ID: 14333
Updated by: lobbin
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Apache related
Operating System: RH 6.2 SMP
PHP Version: 4.0.6
New Comment:
No feedback. Closing.
Previous Comments:
------------------------------------------------------------------------
[2001-12-12 19:40:21] [EMAIL PROTECTED]
I also suggest to check RedHat resources to see if there is any known problems with
their SMP kernel. There are issues like this for SMP kernel occasionally.
------------------------------------------------------------------------
[2001-12-12 09:12:31] [EMAIL PROTECTED]
Like I asked before, configure/compile PHP without ANY configure
options. (only --with-apxs)
And updating kernel (and compiling it by yourself) is not bad idea either.
------------------------------------------------------------------------
[2001-12-08 19:34:26] [EMAIL PROTECTED]
This time I compiled PHP with this configuration:
CPPFLAGS=-I/usr/local/include
LDFLAGS=-L/usr/local/lib
./configure --prefix=/usr/local \
--with-apache=/root/atb/Apachetoolbox-1.5.45/apache_1.3.22 \
--enable-exif \
--enable-track-vars \
--with-calendar=shared \
--enable-safe-mode \
--enable-magic-quotes \
--enable-trans-sid \
--enable-wddx \
--enable-ftp \
--without-mysql \
--without-ldap \
Apache was just the same as before. However, I am still getting the same runaway
process problem.
Any other ideas or suggestions for me to try?
------------------------------------------------------------------------
[2001-12-08 19:19:42] [EMAIL PROTECTED]
Thanks for the help. I've installed the MySQL-shared RPM and now have
/usr/lib/libmysqlclient.so.
Also, I've recompiled with a minimal PHP configuration:
CPPFLAGS=-I/usr/local/include
LDFLAGS=-L/usr/local/lib
./configure --prefix=/usr/local \
--with-apache=/root/atb/Apachetoolbox-1.5.45/apache_1.3.22 \
--enable-exif \
--enable-track-vars \
--with-calendar=shared \
--enable-safe-mode \
--enable-magic-quotes \
--enable-trans-sid \
--enable-wddx \
--enable-ftp \
--with-mysql=/usr \
--with-ldap \
My Apache configuration is also very minimal. The only things I have included are the
basics plus mod_ssl and mod_php:
export CFLAGS=""
export LIBS=""
export INCLUDES=""
./configure --prefix=/usr/local/apache \
--enable-suexec \
--suexec-caller=nobody \
--suexec-docroot=/home \
--suexec-logfile=/var/log/httpd/cgi.log \
--suexec-uidmin=500 \
--suexec-gidmin=500 \
--suexec-safepath=/usr/local/bin:/usr/bin:/bin \
--enable-module=so \
--enable-module=access \
--disable-module=auth_db \
--disable-module=digest \
--enable-module=imap \
--enable-module=mime \
--enable-module=setenvif \
--disable-module=usertrack \
--enable-module=auth \
--disable-module=cern_meta \
--disable-module=expires \
--enable-module=log_config \
--disable-module=proxy \
--disable-module=vhost_alias \
--disable-module=auth_anon \
--enable-module=cgi \
--disable-module=headers \
--disable-module=log_referer \
--disable-module=rewrite \
--enable-module=userdir \
--enable-module=asis \
--enable-module=autoindex \
--disable-module=example \
--disable-module=log_agent \
--enable-module=negotiation \
--enable-module=status \
--enable-module=actions \
--disable-module=auth_dbm \
--enable-module=dir \
--enable-module=include \
--disable-module=mime_magic \
--disable-module=unique_id \
--enable-module=alias \
--disable-module=auth_digest \
--enable-module=env \
--disable-module=info \
--disable-module=mmap_static \
--disable-module=speling \
--enable-module=ssl \
--activate-module=src/modules/php4/libphp4.a \
However, as within a minute of installing and running this Apache, I start getting
runaway httpd processes (94% CPU usage).
It doesn't look like the libmysqlclient.so is the issue. I'm going to try installing
with the --without-mysql option to see if that makes a difference.
------------------------------------------------------------------------
[2001-12-08 10:14:24] [EMAIL PROTECTED]
The RPm is called MySQL-shared BTW.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=14333
Edit this bug report at http://bugs.php.net/?id=14333&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]