PHP Fatal error: Call to undefined function mysql_connect()

Discussion in 'Apache' started by ffej2ffej, May 28, 2008.

  1. #1
    I keep getting this error in the Apache error log. It claims that mysql_connect is an undefined function. Say WHAT?! Here is the error again, pasted right from the error log:

    PHP Fatal error: Call to undefined function mysql_connect() in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\connect.php on line 3

    Has anyone else encountered this error? I don't know where to look for help!

    BTW, this is Apache HTTP Server 2.2 with PHP 5 attempting to connect to MySQL Server 5.0 on a Pentium 1 running Windows 2000 SP4.
     
    ffej2ffej, May 28, 2008 IP
  2. Agent_Smith

    Agent_Smith Well-Known Member

    Messages:
    890
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    145
    #2
    Agent_Smith, May 28, 2008 IP