• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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