I've got php up and my hello world script greets the world just fine. Now I need to connect to SQL. This, however, returns false:
function_exists('mssql_connect')
I'm poking around on line for answers. I went here:
http://us2.php.net/manual/en/mssql.installation.php
but I don't even begin to understand these instructions:
"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. "
Maybe that won't even help. I just don't know.
Here is what I do know:
Version of windows on the server: Windows 2003
Version of mssql: MS SQL 2005
PHP Version 5.2.8
This file exists:
C:\php\ext\php_mssql.dll
There are two php.ini files that I found:
C:\WINDOWS\php.ini
C:\php\php.ini
Both have the line:
extension=php_mssql.dll
Please help me connect.
Thank you for your help. I'd be happy to provide any other information that I can.