ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Using MySQL from PHP
Subject:   trouble getting PHP5 to connect to SQL database -- FIX
Date:   2006-11-24 17:38:55
From:   bluexv1
Response to: trouble getting PHP5 to connect to SQL database

from
http://www.phpfreaks.com/forums/index.php?topic=95378.0


...


locate your php.ini file which is most probably located in either the windows folder (C:\WINDOWS), the system folder (C:\WINDOWS\SYSTEM32), or in your php folder.


Find and set this...
extension_dir = "C:\php\ext"


Find and uncomment this...
;extension=php_mysql.dll


restart server, reboot, etc...