Hpw to install mssql support

Started by rohde, March 25, 2019, 07:52:05 PM

Previous topic - Next topic

rohde

Hello

I need to install pdo support to Sql server to connect on external sqlserver data base

how can i do it?

Netino

You must to install freetds-devel, and recompile php with php-switcher, enabling PDO_DBLIB driver (according https://www.php.net/manual/en/ref.pdo-dblib.php).

May be you will need to change the files /usr/local/cwpsrv/htdocs/resources/conf/php_switcher/*.ini to recompile automatically next time you install a new version of php.
I didn't use it in CWP (although I already use it in other servers), but seems is possible to do it directly in php switcher.

Regards,
Netino

gemisu

Hi.
I would like to give me details on how to do it.

gemisu

what I want to do is the same thing I did years ago in cpanel but in cwp

What I did in cpanel was this:

https://forums.cpanel.net/threads/definitive-freetds-installation-instructions-for-ea3.88561/

but in CWP

regards

Igor S.

Hi, you can open a ticket for control-webpanel.com/support-service
Or you can ask to help you some experienced sysadmin ;)



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

studio4host

VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

gemisu

I need the installation of mssql for php 6