Jump to content

Setting up MySQL and PHP on WindowsXP


PHPGreg

Recommended Posts

Hi,

 

I have PHP 5.2.14 installed and running on my WindowsXP system running against IIS5.1.  I am running PHP under IIS as an ISAPI dll.  It works fine.

 

I have installed MySQL 5.1.  For the life of me I cannot get MySQL to load as an extension in PHP.

 

In my PHP.ini I have set the following;

 

extension_dir="C:\Program Files\PHP\ext"

extension=php_mysql.dll

 

I have ensured that this file along with the libmysql.dll have been added into this directory as well as windows\system and windows\system32

 

When I run a phpinfo(); I do not see the MySQL module being loaded and oddly enough when I look at the extension_dir it says C:\php5 which I have copied all these files to as well.  I don't know why it is point to C:\php5 as that is not the directory I chose when I did the install.

 

Any ideas what I've done wrong.

 

Thanks - Greg.

Link to comment
https://forums.phpfreaks.com/topic/217975-setting-up-mysql-and-php-on-windowsxp/
Share on other sites

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.