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
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

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.