|
Helping ordinary people create extraordinary websites! |
Installing PHP on WindowsBy Michael J. Ross2008-03-05
MySQL Versions of DLLs On the MySQL Web site, the "Download Connector/PHP" page offers their own versions of the three aforesaid MySQL DLLs. The page states that their versions should be used instead of the ones available from the php.net site — presumably, the versions that are part of the installation packages. Apparently the mysql.com versions are based on the latest MySQL client libraries, unlike the php.net versions. The page claims that mysqli_stmt_bind_param() fails when you try to access a DECIMAL column on a MySQL 5.0.27 server, if you use php.net's files. Perhaps that has been fixed with MySQL 5.0.51a and PHP 5.2.5, because a simple INSERT test shows that mysqli_stmt_bind_param() can access DECIMAL columns without any problem. Regardless of which set of DLLs you use, once they have been put into the directories specified above, the "extension" lines have been added (if not already done so by the Setup Wizard), and Apache has been restarted, then all three of the primary elements of your Web development environment — Apache, MySQL, and PHP — should be interoperable. Tutorial Pages: » Introduction » PHP Already Installed? » Downloading PHP » Testing PHP » Adding MySQL » MySQL Versions of DLLs » XAMPP |
|