#45062 [Opn]: thttpd problem displaying .html pages when patched with php on 64 bits OS
| From: | j dot orfeuil at courantmultimedia dot fr | Date: | Mon, 27 Oct 2008 14:16:02 +0000 |
| Subject: | #45062 [Opn]: thttpd problem displaying .html pages when patched with php on 64 bits OS | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-130209@lists.php.net to get a copy of this message | ||
ID: 45062
User updated by: j dot orfeuil at courantmultimedia dot fr
Reported By: j dot orfeuil at courantmultimedia dot fr
Status: Open
Bug Type: Other web server
Operating System: debian 4.0 x86_64
PHP Version: 5.2.6
New Comment:
Hum ok,
this was a little bit the aim of this report... to know whether this
was gonna be fixed.
Why did php support thttpd in first place if it's not supported after?
Well, if you have any lead or any patch or even a strict "no, we won't
correct this" please let me know :)
Or maybe a good man could pass hereby and say : I will fix this :)
Otherwise maybe with a lead we could do it ourselves.
Thx anyway :)
Regards
Joseph
Previous Comments:
------------------------------------------------------------------------
[2008-10-27 14:00:38] jani@php.net
I doubt anyone has updated the thttpd patch required so I doubt it will
ever work in 64bit systems.
------------------------------------------------------------------------
[2008-10-27 08:44:05] j dot orfeuil at courantmultimedia dot fr
First of all thx for the answer :)
Of course i've heard about other light web servers thx but the fact is
we already have a whole system running on thttpd.
We actually just need to move our system on a new hardware plateform
(actually on many VPS on a new hardware plateform) and a new OS based on
64bits debian system. For obvious bug reasons and testing time, we just
wanted to "clone" the web part as it is bugless (or at least with small
ones :p)
Changing webserver would be an idea and it would probably work but we
wanted to understand why there was a problem with specific 64 bits OS...
(as we believe it is related to patching thttpd sources with php...) and
of course, as i said before, for bug reason...
On the other hand i don't know if thttpd is still maintained and it
would be recommended to change for an active project but the version we
have is stable and if the bug comes from php, we would have no reason to
change.
Well, hoping you can understand our needs and why we're still looking
for a lead through php bugs, maybe you could help us :)
Regards
Joseph
------------------------------------------------------------------------
[2008-10-25 13:15:28] jani@php.net
Does someone actually maintain thttpd anymore? Have you ever heard of
lighttpd and FastCGI..?
------------------------------------------------------------------------
[2008-05-22 07:23:43] j dot orfeuil at courantmultimedia dot fr
thttpd v2.21b
------------------------------------------------------------------------
[2008-05-21 22:03:05] j dot orfeuil at courantmultimedia dot fr
Description:
------------
thttpd problem displaying .html pages when patched with php :
gcc 4.1 or gcc 3.3
In all cases, thttpd and php compile well.
Compiling thttpd alone => .html files display correctly
Compiling php with thttpd (--with-thttpd option) and then thttpd =>
.php files display correctly but .html file cause thttpd server to
crash.
This behaviour doesn't occur on an 32bits systems but only on my 64
bits debian OS.
My guess is patchning thttpd sources with php when compiling causes
types problems (maybe buffer lenght problems) with 64bits OS.
Reproduce code:
---------------
Compilation options :
php first :
./configure --with-thttpd=thttpd_source_dir
make
make install
thttpd then :
./configure
make
Expected result:
----------------
Both html and php files display correctly
Actual result:
--------------
Only php files display correctly. Html files causes thttpd to crash
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45062&edit=1