Jump to content

MySQL PHP Connector


SayWhat

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
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
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
Share on other sites

As I said, I'm pretty lame when it comes to installing PHP and Apache on Windows... :P

 

If the FAQ didn't help you, perhaps you should actually try WampServer. You'll have PHP+MySQL working in minutes.

Or you can try asking someone else.

Link to comment
Share on other sites

  • 7 months later...

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.