PHP Server Error - can anyone help please?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

PHP Server Error - can anyone help please?

Post by simonmlewis »

Server error!

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

If you think this is a server error, please contact the webmaster.
Error 500
localhost
09/17/09 12:12:57
Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8
Hi.
I have just had this error, and I have no idea why. It's on my local machine when I use this:

http://localhost/phpmyadmin/site/index. ... &menu=home

Thanks.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
amargharat
Forum Commoner
Posts: 82
Joined: Wed Sep 16, 2009 2:43 am
Location: Mumbai, India
Contact:

Re: PHP Server Error - can anyone help please?

Post by amargharat »

Check if you have mod_rewrite on or off, if it is off then remove .htaccess file from your root directory or check if you have written any wrong rule within .htaccess file
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

RESOLVED Re: PHP Server Error - can anyone help please?

Post by simonmlewis »

Thanks, yes I noticed it was the htaccess file.
I don't really need it on my PC. Cannot quite see why that would cause it to malfunction, but since removing it, it has worked.

Cheers.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
Post Reply