ID: 14822 Comment by: msannoyme at msn dot com 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:
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 Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2002-10-04 08:31:04] shanor at mail dot com well, same thing is here... OS winXP, the problem is not just related to Apache2 according to my understanding, since i've uninstalled it, and installed the apache 1.3... and the same 500 internal error, Premature end of script headers: D:/php/core/php.exe now the thing is that as long as i try to run php files in the root directory, it works, but the same file, containging <? echo "hello" ?> and nothing else wont work in any sub folder.... it will only be executed by the php.exe (ver 2 and i tried more than one... always the same). Now everything worked a week ago, and stoped working, the minute i added a user in the XP pro. priviously i had only one user who was the administrator and no login to XP was needed. Then i've added a new user, gave that new user administrators premissions and gave the old user limited permissions. the next time i tried to do somthing in a sub folder of localhost/Any_Sub_Folder/phpFile.php, won't work and gives the error. hope that helps a bit. Shanor. ------------------------------------------------------------------------ [2002-05-11 07:57:19] alex dot davies at mail dot com I get this when I try to use a .htaccess file like the following: <Files view> ForceType application/x-httpd-pshp </Files> Hope this helps ------------------------------------------------------------------------ [2002-04-06 11:09:22] [EMAIL PROTECTED] You need latest CVS versions of both PHP and Apache2 for it to work. And Apache2 is still beta and a moving target, so it's not really possible to have stable releases of it. ------------------------------------------------------------------------ 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