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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fatal error involving mysql_connect

Status
Not open for further replies.

kennyharrill

Programmer
May 14, 2005
7
0
0
US
I am using PHP 5.0.2, MySQL 4.0.21, and Apache 2.0.52. I am trying to connect to a MySQL database through PHP, but I'm getting the "fatal error" message involving the mysql_connect function. I have tried a number of solutions - enabled php_mysql.dll in my php.ini file. I copied my libmysql.dll file from the dll folder to other locations specified. I added .PHP to my Windows System Path Enviroment Variable. I added extension=mysql.so to my php.ini file. I also changed the extension_dir = './' to "c:\php\ext". Nothing helps. I'm at my wits end. Can someone help me out?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top