I have the following error and cant see the problem basically -
Fatal error: Call to undefined function sqlsrv_connect()
This is what I have
$hostName = "csfd***";
$databaseName = "CSF_***";
$username = "contract_user";
$password = "***";
This is the line that’s causing the error
$connectionInfo = array("Database"=>$databaseName, "UID"=>$username, "PWD"=>$password);
$conn = sqlsrv_connect($hostName, $connectionInfo);
Have you enabled sqlsrv in your php.ini file? Far as i can see this is a custom extension not released as part of the base PHP (as there is no version information availlable for it according to php.net )
Thanks StarLion, we going to look into that now, and will get back to you
Spot on, thank you, problem resolved.
system
Closed
April 30, 2015, 8:34pm
5
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.