Help. Can't connect to database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mwailes
    New Member
    • Apr 2007
    • 1

    Help. Can't connect to database

    Hello,

    I have been running PHP 5, MySQL 5.0 and Apache 2.0 on a XP machine. I was working on a project and I was getting a lot of "undefined index" notices so I went into my php.ini file to turn down my error messaging. When I went back to work, I got the dreaded "Fatal error: Call to undefined function mysql_connect() "

    I instantly went back and changed my error messaging back (it was the only thing I did in the php.ini file) and the problem still remains.

    I've since recompiled PHP to no avail and have now went with a fresh install of PHP 5.2.1 and still have the problem.

    I've recopied my updated php.ini file to the appropriate locations, as well as the libmysql.dll and php_mysql files. Still the problem remains.

    I am now at a complete loss and am considering re-installing my entire developement suite.

    Any ideas?
  • ak1dnar
    Recognized Expert Top Contributor
    • Jan 2007
    • 1584

    #2

    Comment

    Working...