From:             j dot orfeuil at courantmultimedia dot fr
Operating system: debian 4.0 x86_64
PHP version:      5.2.6
PHP Bug Type:     Other web server
Bug description:  thttpd problem displaying .html pages when patched with php

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 bug report at http://bugs.php.net/?id=45062&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45062&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45062&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45062&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45062&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=45062&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45062&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45062&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45062&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45062&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45062&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=45062&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=45062&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45062&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45062&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45062&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45062&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45062&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45062&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45062&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45062&r=mysqlcfg

Reply via email to