stualk Posted May 17, 2007 Share Posted May 17, 2007 Has anyone ever come across this error before? Fatal error: Call to undefined function mysql_connect() in URL\database.php on line 7 I don't know what could be causing it. Quote Link to comment https://forums.phpfreaks.com/topic/51784-mysql_connect-error/ Share on other sites More sharing options...
jitesh Posted May 17, 2007 Share Posted May 17, 2007 If Using windows server. Are these files available at your c://windows folder ? libmysql.dll libmysqli.dll php5apache2.dll php5apache.dll php5ts.dll php_mysql.dll Quote Link to comment https://forums.phpfreaks.com/topic/51784-mysql_connect-error/#findComment-255144 Share on other sites More sharing options...
stualk Posted May 17, 2007 Author Share Posted May 17, 2007 I've just asked my host to check. If any of those files are missing is that where the problem lies? It is a windows server by the way. Quote Link to comment https://forums.phpfreaks.com/topic/51784-mysql_connect-error/#findComment-255148 Share on other sites More sharing options...
thedarkwinter Posted May 17, 2007 Share Posted May 17, 2007 ...you may also need to check the php.ini file ad make sure that any lines pointing to mysql dll files are not commented out cheers, tdw Quote Link to comment https://forums.phpfreaks.com/topic/51784-mysql_connect-error/#findComment-255383 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.