1

I'm using Apache 2.2 along with Windows 7. I just need to enable MySQL extension to work. Its okay when I'm using windows binary (.msi). But when I'm trying with .ZIP file, MySQL extension is not working. I have un-commented the extension in php.ini. But the error still presists.

Would anyone have suggestions for how to fix that?

slhck
  • 235,242

1 Answers1

2

Probably your php.ini isn't configured correctly. Even if it is I have seen instances where I had to copy the .dll's to the same dir as the php.exe.

Definitely make sure that extension_dir is set correctly and that enable_dl = On in the .ini file, and use phpinfo() to check.

soandos
  • 24,600
  • 29
  • 105
  • 136