ID: 14822 Comment by: kurt at k2host dot net Reported By: b dot parcalab at atlastelecom dot ro Status: Closed Bug Type: Apache2 related Operating System: windows xp professional PHP Version: 4.1.0 New Comment:
I had this same problem, interestingly enough, I copied all of the files in the "dlls" directory to the "php" directory (same directory as php.exe) and now it works perfectly. Kurt Previous Comments: ------------------------------------------------------------------------ [2003-03-19 08:45:28] homeuser at home dot com i got the same error Premature end of script headers: c:/php/php.exe when setting up name-based virtual hosting on apache, i managed to get around this error by commeting out doc_root = "..........." to ;doc_root = "..........." in php.ini. hope this helps!!! ------------------------------------------------------------------------ [2003-03-06 20:54:13] yeo at inst dot ne dot jp If you working apache, PHP on Windows, Compare "doc_root" in your php.ini to "DocumentRoot" in httpd.conf. I hope this helps ------------------------------------------------------------------------ [2003-02-27 04:26:19] msannoyme at msn dot com having the same problem using winxp pro full service packs installed apache 1.3.14 PHP Version 4.2.4-dev -- phpinfo info -- System Windows NT 5.1 build 2600 Build Date Nov 1 2002 18:13:11 Server API CGI Virtual Directory Support enabled Configuration File (php.ini) Path C:\WINDOWS\php.ini Debug Build no Thread Safety enabled On my system the error appears every page if I use /php/php-cli.exe but with /php/php.exe it works fine except for a group of users. I am writting a system that allows the sys admin to create a list of users and asign them to groups within the system. now if user Beaker (taken from the muppets) logs in as an author and goes to the author page and is a member of the group Author I get the error. but if I make beaker a member of the administrator group it works fine. difference between groups is basic admin grp = id 1, author grp = id 2 I'll look for fixes here do not email me the above email address deletes all mail automatically unless in my contacts. You will not get a response from above email address ------------------------------------------------------------------------ [2002-12-21 06:47:49] a_sohi at hotmail dot com Hi all, Support folks, please take note. This issue is not exclusive to Apache 2. Im running WinXP Pro (no service packs) PHP4.2.3 Apache 1.3.27 And receive the same error in error.log "Premature end of script headers: e:/applications/servers/php-4.2.3-win32/php.exe" Evidently Im using the PHP binary rather than the apache module. For the record, I've tried changing the httpd.conf and replacing the line: "Action application/x-httpd-php /php/php.exe" with "Action application/x-httpd-php /php/php-cli.exe" but no success. Id rather not downgrade down to Windows 2000 but without a swift resolution, this may well be the only option. Can anyone help? Many thanks in advance. Cheers. Pete. ------------------------------------------------------------------------ [2002-12-02 11:36:20] phil at caint dot com I had this problem as well on XP. I changed the line Action application/x-httpd-php /php/php.exe to Action application/x-httpd-php /php/php-cgi.exe in httpd.conf and this seemed to work. I don't know why. Hope this helps. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14822 -- Edit this bug report at http://bugs.php.net/?id=14822&edit=1