invictusBob Posted August 18, 2008 Share Posted August 18, 2008 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?! Quote Link to comment Share on other sites More sharing options...
trq Posted August 18, 2008 Share Posted August 18, 2008 You just need to uncomment the following line... ;extension=mysql.dll within your php.ini then restart apache. Quote Link to comment Share on other sites More sharing options...
invictusBob Posted August 18, 2008 Author Share Posted August 18, 2008 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. Quote Link to comment Share on other sites More sharing options...
gs Posted August 18, 2008 Share Posted August 18, 2008 Isnt a comment like this '//'? Quote Link to comment Share on other sites More sharing options...
trq Posted August 18, 2008 Share Posted August 18, 2008 Not in an ini file. Quote Link to comment Share on other sites More sharing options...
invictusBob Posted August 19, 2008 Author Share Posted August 19, 2008 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.