Jump to content

Recommended Posts

Hi,

I got this book called "Learning PHP & MySQL" from my dad. I've just started the installations, and I'm about to install the MySQL Connector.

 

It says: Download the MySQL PHP Connector from http://dev.mysql.com/downloads/connector/php

But all I can see is the MySQL search. After a while of just clicking around, I found a .zip that I thought would be it. But it didn't contain the "libmysql.dll" file that I should copy to system32.

 

 

So now I'm very confused, is there somewhere else I can download this .zip . Or am I doing something completely wrong?  ???

 

Link to comment
https://forums.phpfreaks.com/topic/138895-mysql-php-connector/
Share on other sites

oh okay thanks. Well it says on step 8: Navigate to your phpinfo.php test page. You should now see a section with the heading MySQL in the middle of the page. That section confirms that PHP can talk to MySQL    - will this work if I use WAMP?

Link to comment
https://forums.phpfreaks.com/topic/138895-mysql-php-connector/#findComment-726312
Share on other sites

I never had any luck installing Apache and PHP on Windows by myself... that's why I always use WampServer :P

 

Ok... let's check some things

 

1. Does http://localhost/phpinfo.php display a phpinfo page?

2. Do you have these two lines in php.ini file?

 

extension=php_mysql.dll
extension=php_mysqli.dll

 

(note, there's no ; at the beginning. Remove it if you have it)

 

3. Did you restart your Apache server after modifying php.ini file?

Link to comment
https://forums.phpfreaks.com/topic/138895-mysql-php-connector/#findComment-726363
Share on other sites

  • 7 months later...
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.