Jump to content

How to turn on MySQL extension?


Recommended Posts

I have Apache 2.2 and PHP 5.2.6 running under Windows XP. This works fine, serving pages and running sripts, but phpinfo() does not list MySQL or MySQLi extensions. The setup wizard confirms the two extensions are to be loaded and php_mysql.dll and php_mysqli.dll are showing in the PHP/ext folder. php.ini shows extension_dir ="C:\Program Files\PHP\ext" and C:\Program Files\PHP is in the system path.

 

I'd really like to use MySQL, what have I missed?!

 

Link to comment
Share on other sites

Thanks for the quick response. In my php.ini, the line ";extension=msql.dll" only appears as an example in the section headed ";Dynamic Extensions". I had already tried uncommenting this within the Dynamic Extensions section and also tried putting it to the MySQL section. Your comment makes me wonder if my php.ini is not as you would expect it to be.

 

Link to comment
Share on other sites

Well, now that we've sorted out the comments, does anyone have any suggestions?

 

Searching through this site, it seems that various flavours of my problem are quite common and intractable. Where solutions are are reported they often appear to have been stumbled upon rather than zoomed in on by some incisive contributor. Re-installing the whole shebang looks like a realistic response. The sticky above promoting Easy Installation with Wamp5 sounds very tempting. Does that solution have many supporters?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.