Jump to content

mallen1

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

mallen1's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. You're brilliant. That seems so obvious now looking back at my own post. Will go make the adjustment now. Thank you
  2. I am trying to get sqlsrv to work in php. I am running Windows Server 2008, PHP 5.3, IIS 7, AND MSSQL Server 2008. I have php5.dll. I downloaded and installed the latest php_sqlsrv_53_nts_vc6.dll and php_pdo_sqlsrv_53_nts_vc6.dll package by extracting all the 6 .dll to the C:\PHP\ext folder. I modified my php.ini to include extension=php_sqlsrv_53_nts_vc6.dll and extension=php_pdo_sqlsrv_53_nts_vc6.dll and then restarted the IIS server. As far as I can tell these are the correct .dll for my system? I have also double checked that it is the only php.ini on the machine. When I run php -v I get the error: PHP Warning: PHP Startup: Unable to load dynamic libarary 'C:\php\php_sqlsrv_53_nts_vc6.dll' - The specified module could not be found. in Unknown on line 0. PHP Warning: PHP Startup: Unable to load dynamic libarary 'C:\php\php_pdo_sqlsrv_53_nts_vc6.dll' - The specified module could not be found. in Unknown on line 0. I also cannot see sqlsrv in my Registered PHP streams when I go to phpinfo() I can see both files I am calling in my c:php\ext folder and I have the folder permissions set to everyone\everything. When I try to connect in php I get the error "Call to undefined function sqlsrv_connect() in C:\inetpub\wwwroot\mysqltest.php on line 3 I have been trying to get this to work for about 5 hours. PLEASE PLEASE does anyone have ANY ideas?
×
×
  • 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.