The PHP distribution and documentation are available from the PHP
Web site. MySQL provides the mysql
and
mysqli
extensions for the Windows operating
system for MySQL versions as of 5.0.18 on
http://dev.mysql.com/downloads/connector/php/. You
can find information why you should preferably use the extensions
provided by MySQL on that page. For platforms other than Windows,
you should use the mysql
or
mysqli
extensions shipped with the PHP sources.
See Section 22.3, “MySQL PHP API”.