From: svanleent at wanadoo dot nl
Operating system: Windows XP
PHP version: 5.0.0b1 (beta1)
PHP Bug Type: Zend Engine 2 problem
Bug description: Strange error caused by missing DLL
Description:
------------
As I try to run a simple php script ie.:
<? print('Hello world!') ?>
I get this strange error
Server error!
Error message:
Premature end of script headers: php.exe
If you think this is a server error, please contact the webmaster
Error 500
localhost
07/24/03 14:21:52
It's an error from the apache 2.0 webserver
I traced it back to it's core, and it seems that there is a DLL missing in
the last download, namely "iconv.dll"
The distribution I downloaded was:
php-5.0.0b1-Win32.zip
Reproduce code:
---------------
<? print('Hello world!') ?>
Expected result:
----------------
Hello world!
Actual result:
--------------
Server error!
Error message:
Premature end of script headers: php.exe
If you think this is a server error, please contact the webmaster
Error 500
localhost
07/24/03 14:21:52
and running php.exe as executable gives:
Application termination
because iconv.dll is missing
--
Edit bug report at http://bugs.php.net/?id=24791&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24791&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24791&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=24791&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24791&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24791&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24791&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24791&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24791&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24791&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24791&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24791&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24791&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24791&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24791&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24791&r=gnused