Jump to content

PHP wont connect to MySQL


Recommended Posts

ok.....so i install apache....and test it.....it works

I install mysql...and test it....it works.

Then i download PHP 5.2.3 windows installer.  Upon installing i select the extensiosn and make sure to select all the MySQL options. Then i finish the install.

 

I run phpinfo() and for some reason theres no mention of MySQL in it.

 

Is this a MySQL problem...or a PHP problem?

Link to comment
https://forums.phpfreaks.com/topic/66872-php-wont-connect-to-mysql/
Share on other sites

  • 3 weeks later...

Don't use the msi, it only installs a limited CGI version of PHP.  Go back to PHP.net and get the right zip file and install it by hand.  It will contain everything you need unless you want to use libmysqli.dll, which they forgot to include.  Just go back to PHP.net and download that and you should be OKAY

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.