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

Link to comment
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.