Jump to content

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

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.