• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Extension PHP mssql PHP7

Marcio Nunes

Basic Pleskian
Hi!
My custommer need load mssql.so to connect with SQL Server, but cannot active this extension.
How load in my PHP 7.0/7.1 mssql?

This is old server, with FreeTDS, not found any docs
mssql
MSSQL Support enabled
Active Persistent Links 0
Active Links 0
Library version FreeTDS

This link step by step is done, but dont work, the PHP show error Call to undefined function mssql_connect()
https://talk.plesk.com/threads/cant-install-php7-pecl-oauth-on-plesk-12-5-30.336791/#post-803386
 
# /opt/plesk/php/7.1/bin/php -m | grep mysql
mysqli
mysqlnd
pdo_mysql

Why is it not enough for you?
 
Main idea - to find the appropriate package with mssql.so for Ubuntu and your PHP version, extract it from the package and put to correct place with adding mssql.ini php config.
Try to find it at least.
 
Hint - FreeTDS, try to find instruction for Ubuntu, adapt it for Plesk and share your results here! :)
 
Back
Top