Bug #18210 Updated: Internal Server Error 500

From: Date: Tue, 09 Jul 2002 09:30:13 +0000
Subject: Bug #18210 Updated: Internal Server Error 500
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13579@lists.php.net to get a copy of this message
ID: 18210 Updated by: tomator@wio.zsi.pl Reported By: tomator@wio.zsi.pl -Status: Feedback +Status: Open Bug Type: Scripting Engine problem Operating System: Windows XP + Apache/1.3.24 PHP Version: 4.2.1 New Comment: I have cleared whole folder C:\PHP and downloaded archives of 4.1.2 (PHP stopped working) and then installed PHP 4.2.1 Previous Comments: ------------------------------------------------------------------------ [2002-07-08 21:48:20] sniper@php.net My guess is that when you updated to 4.2.1 you didn't replace the correct files (and ALL of them) with new ones. For example php4ts.dll HAS to be replaced. Also make sure you don't have any duplicates of any of the dlls in your system. ------------------------------------------------------------------------ [2002-07-08 18:34:13] tomator@wio.zsi.pl I'm using PHP as Apache module. It is configured in httpd.conf. Works fine with PHP 4.1.2 Overwriting PHP with 4.1.2 solved all mentioned problems, so I thing that problem source is somewhere inside of PHP 4.2.1 ------------------------------------------------------------------------ [2002-07-08 05:41:47] sander@php.net Are you using the CGI executable or the Apache module? How did you configure either of them in your httpd.conf? ------------------------------------------------------------------------ [2002-07-07 15:24:37] tomator@wio.zsi.pl Finally, I returned to PHP 4.1.2 and got number of line with parse error. This time it was: if (isset($_POST["usermail"]) and isset($_POST["userpwd"]) and !isset($_SESSION["id"]==0)) { (last part, after !isset was wrong) Version 4.1.2 reports parse error while 4.2.1 causes error 500. ------------------------------------------------------------------------ [2002-07-07 14:25:30] tomator@wio.zsi.pl Instead of "parse error" I often get an Internal Server Error 500, which says nothing about what was wrong. I tried to get closer to focus the problem, so I made simply file... but it is crashing even without any php in it: ----------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>title</title> </head> <body> this is normal file </body> </html> -------------------------------- It's addres is http://wio4.zsi.pl/del_it.html Other files (with PHP without errors) works fine, working with MySQL. Problems started after installing PHP 4.2.1 ------------------------------------------------------------------------ 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/18210 -- Edit this bug report at http://bugs.php.net/?id=18210&edit=1

« previous php.bugs (#13579) next »