Which PHP version mssql_connect function has been deprecated or removed the lamp environment?
Okay I'm trying to run a legacy application in PHP 7.0:
yum install php70w php70w-opcache php70w-Common php70w-pdo php70w-mssql
and I get the error message :
Uncaught error: Call to undefined function mssql_connect().
I found only a link in the wiki about it and nothing in the documentation.
Removal of dead sapis and exts
I believe I'll have to refactor for PDO, but not everything works well with PDO and SQL Server.
The mssql_
library has been removed in PHP7, as you know.
Instead, Microsoft will be officially supporting connections through the sqlsrv
library.
However, support for sqlsrv
in PHP7 has not been fully completed yet, and as such, Microsoft released a statement saying they intend to have it out around Q1 of FY 2016.
This means that your legacy application cannot be ported yet. However, keep a look out, as they should be coming relatively soon.