poxopas Posted January 11, 2007 Share Posted January 11, 2007 i've got php 5.2 and mssql installed on a windows server 2003 system and both work fine on their own. However php scripts won't recognize mssql commands, and it looks like the mssql extension isn't loading (error is "Call to undefined function mssql_connect()..."). I've included extension=php_mssql.dll in the php.ini file, and when I run php -m in the command line it lists mssql as a module, but running a phpinfo() script doesn't list it as an active module. Any help would be appreciated Quote Link to comment https://forums.phpfreaks.com/topic/33812-php-not-recognizing-mssql/ Share on other sites More sharing options...
MCP Posted January 12, 2007 Share Posted January 12, 2007 Have you set the extensions directory appropriately? Do other extensions work? Which version of MS SQL? Quote Link to comment https://forums.phpfreaks.com/topic/33812-php-not-recognizing-mssql/#findComment-158814 Share on other sites More sharing options...
poxopas Posted January 12, 2007 Author Share Posted January 12, 2007 The extensions directory is set to the right path, but no other extensions work...also, i'm using msde 2000. And I forget to mention I'm using IIS 6.0. Quote Link to comment https://forums.phpfreaks.com/topic/33812-php-not-recognizing-mssql/#findComment-159055 Share on other sites More sharing options...
poxopas Posted January 12, 2007 Author Share Posted January 12, 2007 ok,its working now...i copied the php.ini into the window directory and that seemed to fix it. Quote Link to comment https://forums.phpfreaks.com/topic/33812-php-not-recognizing-mssql/#findComment-159060 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.