• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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