MSSQL Setup Question
Posted: Sun Feb 01, 2004 7:55 pm
Hello,
I installed PHP via the Windows Installer on a Windows 2003 server running IIS 6.0. The PHP works (I tested with a print statement) but the MSSQL stuff doesn't. This is SQL Server 2000.
What I've done:
1) Installed MSSQL and Client Tools
2) Added the mssql extension to the php.ini file.
3) Extracted the large zip file to the C:\PHP directory.
4) Moved the DLLS in the dll folder to the system32 folder.
Whenever I try to run a mssql_connect function I get this error:
Fatal error: Call to undefined function: mssql_connect() in C:\Inetpub\Website\sqltest.php on line 8
I've tried everything I can find on the forums, I'm not sure what I'm doing wrong. I'd really like to use SQL Server 2000 because I need to test it for Microsoft Small Business Server 2003, so going to MySQL is a last resort.
I greatly appreciate any help and information,
Eric
I installed PHP via the Windows Installer on a Windows 2003 server running IIS 6.0. The PHP works (I tested with a print statement) but the MSSQL stuff doesn't. This is SQL Server 2000.
What I've done:
1) Installed MSSQL and Client Tools
2) Added the mssql extension to the php.ini file.
3) Extracted the large zip file to the C:\PHP directory.
4) Moved the DLLS in the dll folder to the system32 folder.
Whenever I try to run a mssql_connect function I get this error:
Fatal error: Call to undefined function: mssql_connect() in C:\Inetpub\Website\sqltest.php on line 8
I've tried everything I can find on the forums, I'm not sure what I'm doing wrong. I'd really like to use SQL Server 2000 because I need to test it for Microsoft Small Business Server 2003, so going to MySQL is a last resort.
I greatly appreciate any help and information,
Eric