Re: Server 500 Error....

From: Date: Tue, 22 Jan 2002 02:20:15 +0000
Subject: Re: Server 500 Error....
References: 1 2 3  Groups: php.install 
Request: Send a blank email to php-install+get-5670@lists.php.net to get a copy of this message
Hello Luka, Luka wrote:
i'm having the same problem on windows XP apache 1.3.22 php 4.0.1. Since i don't use any prepend file in my php.ini i was wondering if you could tell me where the problem is. i get errors when i try to connect from other machines(locally everything works fine). And when i use a linux box to download the index.php file i notice it has weird stuff in it like OI^]?Á^A+^A?r^A and so on. any help would be apriciated The only suggestion is setup PHP using CGI first then access the site via the browser, somewhere along the line you should probably be getting/seeing some sort of Error message. You might have to scroll to the bottom of a page to see it. Basically what's happening is that there's a incorrect setting somewhere and the ISAPI version isn't giving you any clue as to where the problem might be. The CGI version just writes the error out so once you get the CGI version working just go back and change the configuration to ISAPI and all should be fine.
It all boils down to you can't fix it if you don't know it's broke. John
so do i just ----- Original Message ----- From: "John Wicks" <j_wicks@pacbell.net> Newsgroups: php.install To: <php-install@lists.php.net> Sent: Monday, December 24, 2001 7:46 AM Subject: Re: Server 500 Error....
Hello Nathaniel, "Nathaniel Harari" <nat@interactivehq.org> wrote in message news:000701c171eb$20432890$5100000a@NAT01...
Hi. A few weeks ago, I got PHP Nuke to install beautifully on my XP machine at home to test it - no problems for a first time user. Now, I want to use it for my work web site on my remote server for the company I work for. I am running Windows 2000 Server edition on a nice fast box with IIS 4. I installed PHP, MySQL, and PHPNuke. Only, I can't open any PHP pages: I get an "Internal Server Error 500" every time I try to open a php page through the browser by hitting the site. Everything works fine and running php.exe -i outputs the HTML code just beautifully.
I had the same issue, what I did was change all of IIS to run with the php.exe CGI first. I got that running though there is an error in the prepend.php3 file with a local directory. Once I fixed that I went back
and
configured the ISAPI setup and all was well. The offending line in prepend.php3 is line 13. This should point to your include directory. John


« previous php.install (#5670) next »