Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache HTTP 500 - Internal server error

Status
Not open for further replies.

Hawki

Programmer
Oct 16, 1999
63
US

Hi

I getting HTTP 500 - Internal server error when I try using PHP to access a MySQL database on a Windows XP system.

Here is the code:

<?PHP
// ---------------------- Connect To MySQL Server ----------------------
MYSQL_CONNECT ("localhost", "root", "trinity")
?>

The Apache log file points to MYSQL_CONNECT ("localhost", "root", "trinity") line of code.

Also, I searched the Internet and it seems I can't find an answer to this problem. Do I need to install Apache in the Windows root. What is the answer
 
Can the solution be found in the .htaccess file?
 
Is there a php5-mysql for windows? Did you install the server and client?

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top