ID: 45062
Comment 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:
Hi,
Does anyone have any idea on my problem?
I still encouter it and don't know where it comes from (php or
thttpd).
looks like someone else found the same problem...
Thank you for your help :)
Previous Comments:
------------------------------------------------------------------------
[2008-05-26 18:25:29] dinmansam at hotmail dot com
Hi guys,
I have the same problem to compile for 64 bits target ?
Can anybody provide me a source code of thttpd+php or send me a patch?
Thanks.
------------------------------------------------------------------------
[2008-05-22 07:23:43] j dot orfeuil at courantmultimedia dot fr
thttpd v2.21b
------------------------------------------------------------------------
[2008-05-21 22:04:57] j dot orfeuil at courantmultimedia dot fr
Summary edited (64 bits precision)
------------------------------------------------------------------------
[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