#45062 [Com]: thttpd problem displaying .html pages when patched with php on 64 bits OS
| From: | dinmansam at hotmail dot com | Date: | Mon, 26 May 2008 18:25:30 +0000 |
| Subject: | #45062 [Com]: 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-125266@lists.php.net to get a copy of this message | ||
ID: 45062
Comment by: dinmansam at hotmail dot com
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 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.
Previous Comments:
------------------------------------------------------------------------
[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