PHP/4.0b2 for Win32

From: Date: Thu, 19 Aug 1999 00:09:56 +0000
Subject: PHP/4.0b2 for Win32
Groups: php.version4 
Request: Send a blank email to php-version4+get-3570@lists.php.net to get a copy of this message
Hi All I'm having a problem getting PHP/4.0b2 CGI for Win32 to work with Apache 1.3 on NT4.0. I replaced the old php3.ini with the new default one and changed the settings as needed, but i'm having problems processing POSTed forms. phpinfo() works okay but if I try the code below it falls over with a "500 Internal Server Error". The GET method works fine.The Apache error log has the following entry: [Wed Aug 18 23:36:42 1999] [error] [client 127.0.0.1] Premature end of script headers: c:/php/php.exe <html> <body> <?php if ($submit) { echo "hello"; } else{ ?> <form method="POST" action="<?php echo $PATH_INFO?>"> sometext <input type="Text" name="sometext"><br> <input type="Submit" name="submit" value="Enterinformation"> </form> <?php } // end if ?> </body> </html>

« previous php.version4 (#3570) next »