astralaaron Posted February 4, 2008 Share Posted February 4, 2008 Fatal error: Call to undefined function mysql_connect() in C:\wamp\www\siteb\mysql_con.php on line 2why could i be getting this? the name/password is correct.. and works on a different comp Link to comment Share on other sites More sharing options...
jhecht Posted February 4, 2008 Share Posted February 4, 2008 it means that your host doesn't have MySQL, or your server didn't install the MySQL extensions to your PHP. Link to comment Share on other sites More sharing options...
justsomeguy Posted February 4, 2008 Share Posted February 4, 2008 I would think that WAMP would enable the mysql extension, but it might enable mysqli and leave mysql disabled. You can open php.ini and find the line to enable mysql and uncomment it. Link to comment Share on other sites More sharing options...
Synook Posted February 5, 2008 Share Posted February 5, 2008 I don't have the newest version of WAMP, but I think the new release comes with no extensions installed and gives you a menu where you can check (select) the ones you want to install. At least that is what I understand from their site... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.