Jump to content


Photo

php/mysql installation


  • Please log in to reply
1 reply to this topic

#1 birdie

birdie
  • Members
  • PipPipPip
  • Advanced Member
  • 65 posts
  • LocationBirmingham UK

Posted 30 December 2005 - 11:47 PM

hi, i am quite experience with php/mysql so it is not a matter of php functions.

Fatal error: Call to undefined function mysql_connect() in D:\Documents and Settings\Administrator\Desktop\WWW\index.php on line 2

i have installed mysql 5 and the new php.
By installing php5, i installed the installer and then added the zip package for extensions, it didnt work.

if no-body knows, can someone give me a combination of php and mysql which does work.
thanks


#2 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 31 December 2005 - 06:17 AM

Could be a bunch of things; usually, Apache and/or PHP are not configured properly with MySQL support. Check the extensions section of the php.ini file (BTW, I think you need mysqli libraries for MySQL 5) for the correct line, and make sure Apache knows where to find them!

Hope that helps -- I believe I replied to another similar thread in this forum recently.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users