If you're using Apache I'd recommend using the server extension thingy instead. I think I had problems with the CGI on Apache 1.3.22 and Win98 (worked fine with Xitami 2.5+Win95 though).
"Alain Samoun" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > OK: Try to run your script in a DOS window (php yourscript.php) starting in > the directory of php.exe, and tell us what is the error there. > A+ > Alain > > > -----Original Message----- > From: Andrew Saturn [mailto:[EMAIL PROTECTED]] > Sent: Saturday, December 22, 2001 5:23 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] PHP 4.1.0 Win32 problem > > > I'm running Apache 1.3.22 on Windows ME (a 9x Win kernel - not NT\2k\XP) > with PHP 4.1.0 > > I've done everything I can think of to make PHP work, but it simply won't, > and I have no clue whats wrong, because the only thing the error_log will > tell me is: > > Premature end of script headers: c:/php/php.exe > > which, can mean a ton of things... > any idea what could possibly be wrong? > > > list of things I've done: > -re-wrote my php.ini file, using the "recommended" sample php.ini file > included with the install > -commented out the GD library DLL from the ini (it said it couldnt load it > in previous errors) > -changed my $SERVER_NAME variables to $_SERVER["name"]: > > // -- old php 4.0.x way below > if ($SERVER_NAME == "ca.roogroup.com") {} > > // -- php 4.1.x way below (what I changed the above to) > if ($_SERVER["name"] == "ca.roogroup.com") {} > > I hope someone can help me ... this is really annoying (it happens every > time I upgrade PHP O_o) > > thanks, > -andrew saturn > roogroup.com > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]