PHPGreg Posted November 7, 2010 Share Posted November 7, 2010 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. Quote Link to comment https://forums.phpfreaks.com/topic/217975-setting-up-mysql-and-php-on-windowsxp/ Share on other sites More sharing options...
Obadiah Posted November 7, 2010 Share Posted November 7, 2010 if I were you Id use Xampp...skip the headache bro! its a all-in-one pakage deal that you can use on whatever you want...do a google search for xampp...i think you will like it! Quote Link to comment https://forums.phpfreaks.com/topic/217975-setting-up-mysql-and-php-on-windowsxp/#findComment-1131389 Share on other sites More sharing options...
PFMaBiSmAd Posted November 7, 2010 Share Posted November 7, 2010 If you used the .msi installer to install php, you must use the Windows control panel add/remove item to enabled php extensions. Quote Link to comment https://forums.phpfreaks.com/topic/217975-setting-up-mysql-and-php-on-windowsxp/#findComment-1131419 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.