Jump to content

Problem installing PHP in hyper-v environment


Recommended Posts

Hi All,

 

It looks like I am having problems loading the php_mssql.dll extension on my PHP installation, but only when I run it up in my hyper-v virtual environment. As a test, I ran up a vanilla install of 2003, R2, SP2 using IIS and installed PHP using the following method:

 

  • Unzipped PHP-5.2.13-Win32 into C:\PHP
  • Added C:\PHP into the windows path
  • Added the php5isapi.dll extension into web service extensions and ISAPI mappings in IIS
  • Created HKLM/Software/PHP/IniFilePath key
  • Edited PHP ini file to show ext location, to show startup errors and uncommended mssql.dll and msql.dll ext's

 

 

Now in my VMware environment this is working just fine, and I can start up PHP with no errors and the MSSQL and MSQL dll's are loading ok - but in the exact same environment on my hyper-v virtual environment I am getting a startup error of "Unable to load MSSQL.dll - This module cannot be found"

 

I am running out of ideas - why would it work on 1 and no the other?

 

Confused.com!

 

Thanks

Matt

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.