#19639 [Fbk->Opn]: PHP crashes apache on restart of the webserver
| From: | wzanatta at uol dot com dot br | Date: | Tue, 01 Oct 2002 16:23:03 +0000 |
| Subject: | #19639 [Fbk->Opn]: PHP crashes apache on restart of the webserver | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-20954@lists.php.net to get a copy of this message | ||
ID: 19639
User updated by: wzanatta@uol.com.br
Reported By: wzanatta@uol.com.br
-Status: Feedback
+Status: Open
Bug Type: Apache2 related
Operating System: Slackware 8.1 - Linux 2.4.19
PHP Version: 4.2.3
New Comment:
Oh, sorry.
The 3 times expat may have been a copy/paste problem, my script looks
correct.
For the png and jpeg, may have been a messy when trying to compile with
gd 2+ support (no way to get it!).
And finally the shared, is because I didn't find references about which
options supports it or not.
sorry again...
Previous Comments:
------------------------------------------------------------------------
[2002-10-01 11:05:15] sniper@php.net
Leave this to 'Feedback' status until that so we know it..
Anyway, your configure line is pretty wierd and a bit bad too, for
example, you use 'shared' for some options that don't support it (e.g.
--with-zlib-dir and --with-expat-dir)
and you use wrong paths for --with-png-dir and --with-jpeg-dir (remove
the '/lib' part).
And there's no need to specify --with-expat-dir 3 times..
You could try also configuring non-shared modules and see if it works
any better. If so, then try applying the 'shared' part one by one to
see where it fails.
------------------------------------------------------------------------
[2002-10-01 08:51:13] wzanatta@uol.com.br
Well the last two CVS versions I tried (one 2 minutes ago and another
yesterday) showed me the following error in configure:
checking external libexpat install dir... yes
configure: error: not found. Please reinstall the expat distribution.
This, trying with that second compile (the bigger) line I posted
before. Also tried especifying the full path, including the "lib".
Another thing to remember is that that directory is under my ld.so.conf
and a ldconfig have references to that.
Now compiling with the shortest configure line...
Hmmm seems that works!!!
Just a note, when compiling I got the following message:
ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/usr/src/ServerSoftware/PHP/php4-200210010300/ext/mysql/libmysql/my_tempnam.c:105:
the use of
tempnam' is dangerous, better use mkstemp'
I'll leave this opened until next thursday and try other compilations,
ok?
------------------------------------------------------------------------
[2002-09-30 18:27:17] sniper@php.net
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
Try that snapshot, NOT the one labeled with 'STABLE' as some fixes
possibly related were not merged to that branch.
------------------------------------------------------------------------
[2002-09-30 08:18:08] wzanatta@uol.com.br
As I've said before, I've tried apache 2.0.40 and 2.0.42.
Tried PHP 4.2.3, some CVS I don't remember, and the lastest STABLE CVS
of that day (php4-STABLE-200209260600).
Also have tried with minimal configuration (just the prefix and the
enable parameters) and it didn't work.
A new detail that may be of your interest is that the bug IS NOT
reproducible on Solaris 8/SPARC.
Running a standalone apache itself doesn't cause any errors on restart.
The problem only occurs when PHP is loaded to Apache.
What about?
------------------------------------------------------------------------
[2002-09-28 04:43:24] yohgaki@php.net
Try CVS versions both PHP and Apache2.
Does it help?
------------------------------------------------------------------------
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/19639
--
Edit this bug report at http://bugs.php.net/?id=19639&edit=1