Re: Re : Server Error 500

From: Date: Sun, 30 Jul 2000 15:23:53 +0000
Subject: Re: Re : Server Error 500
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-9052@lists.php.net to get a copy of this message
Your test.php script is not a standalone CGI executable. It is just an HTML file with some markup tags. Do not put .php files in your /cgi-bin directory and don't make them executable. Instead put them elsewhere under your Document_Root and make sure you httpd.conf file has the correct Mime type mapping for .php files. Then access the .php file directly with your browser. -Rasmus On Sun, 30 Jul 2000, Vince Crismer C. Villena wrote: > Greetings, > > Hi there. I'm Vince Villena. I have a Red Hat Linux 6.2. It has apache and > php 3.0.15 on it. I created a test.php on /home/httpd/cgi-bin. The php > program has the ff. lines on it : > > <html> > <body> > <? phpinfo() ?> > </body> > </html> > > I then type the ff: > chmod 777 test.php > > When I try to view it using my browser I had this message : > > Internal Server Error > The server encountered an internal error or misconfiguration and was unable > to complete your request. > Please contact the server administrator, root@localhost and inform them of > the time the error occurred, and anything you might have done that may have > caused the error. > > More information about this error may be available in the server error log. > > > > -------------------------------------------------------------------------------- > > Apache/1.3.12 Server at server Port 80 > > > Need Help. Thanks. > > - Vince Villena > ________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at > http://www.hotmail.com > > >

« previous php.general (#9052) next »