ID: 45062
User updated by: j dot orfeuil at courantmultimedia dot fr
-Summary: thttpd problem displaying .html pages when patched
with php
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:
Summary edited (64 bits precision)
Previous Comments:
------------------------------------------------------------------------
[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