Forums: [SOLVED] Call to undefined function mysql_connect() in - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

[SOLVED] Call to undefined function mysql_connect() in Call to undefined function mysql_connect() in Rate Topic: -----

#1 User is offline   Code11 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 14-April 08
  • Gender:Male
  • Location:South Africa

Posted 20 March 2010 - 10:40 AM

Suddenly out of the blue I get the following :Fatal error: Call to undefined function mysql_connect() in F:\xampp\htdocs\Cars\include\dbconnection.php on line 9
The design works fine, can connect to DB. Uninstalled version 5:1 rebooted and re installed . Could anybody please give me some advice. Thanks
0

#2 User is offline   Code11 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 14-April 08
  • Gender:Male
  • Location:South Africa

Posted 20 March 2010 - 03:02 PM

View PostCode11, on 20 March 2010 - 12:40 PM, said:

Suddenly out of the blue I get the following :Fatal error: Call to undefined function mysql_connect() in F:\xampp\htdocs\Cars\include\dbconnection.php on line 9
The design works fine, can connect to DB. Uninstalled version 5:1 rebooted and re installed . Could anybody please give me some advice. Thanks

After many hour of searching the following
the extention used is: extension=php_mysql_libmysql.dll
The path was shown as extension_dir = "ext" and after changing it to the full path: extension_dir = "F:\xampp\php\ext" the problem was solved.Thanks to the forum and Jane's previous reply to a similar problem.
0

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users