Technote Details :: Problem trying to connect to a MsSQL database with ADODB

Issue

When using PHakt to connect to a MsSQL database, I get an error message on page: Call to undefined function: mssql_pconnect()  in filename.php

Reason

This happens because PHP was not compiled with MsSQL support. Therefore, all functions that the MsSQL module contains will not be available.

Solution

If the site is under a Windows environment, you can solve this issue by uncommenting the line that loads the php_mssql.dll in php.ini.

If the site is under a Linux environment, you cannot use PHakt to connect to a MsSQL database, even if recompiling PHP with MsSQL support.


Home > Support > Knowledge Base > Technote Details
Search the Knowledge Base
© Adobe Systems Romania. All rights reserved.