ID: 45062 Updated by: [EMAIL PROTECTED] 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:
I doubt anyone has updated the thttpd patch required so I doubt it will ever work in 64bit systems. Previous Comments: ------------------------------------------------------------------------ [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] [EMAIL PROTECTED] 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