...

View Full Version : trouble loading php_mssql extension(with WAMP)



Anishgiri
12-01-2010, 12:59 AM
I have have been trying for hours to connect php with ms sql server 2005, but I can't get it, I get these error when I run a web page.

Call to undefined function mssql_connect()

I have these php.ini below, still it does not work, the extension is not loaded
extension=php_mssql.dll. PHP Version 5.3.0. I know many encountered these problem, I tried their solutions, but I can't get it to work.

Fumigator
12-01-2010, 02:43 PM
Did you do this?


To get these functions to work, you have to compile PHP with --with-mssql[=DIR] , where DIR is the FreeTDS install prefix. And FreeTDS should be compiled using --enable-msdblib .

Also:

http://us2.php.net/manual/en/mssql.requirements.php



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum