Control Web Panel

WebPanel => Installation => Topic started by: rohde on March 25, 2019, 07:52:05 PM

Title: Hpw to install mssql support
Post by: rohde on March 25, 2019, 07:52:05 PM
Hello

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

how can i do it?
Title: Re: Hpw to install mssql support
Post by: Netino on March 26, 2019, 03:14:03 AM
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
Title: Re: Hpw to install mssql support
Post by: gemisu on August 06, 2019, 03:23:53 PM
Hi.
I would like to give me details on how to do it.
Title: Re: Hpw to install mssql support
Post by: gemisu on August 06, 2019, 04:00:03 PM
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
Title: Re: Hpw to install mssql support
Post by: Igor S. on August 06, 2019, 04:48:30 PM
Hi, you can open a ticket for control-webpanel.com/support-service
Or you can ask to help you some experienced sysadmin ;)
Title: Re: Hpw to install mssql support
Post by: studio4host on August 06, 2019, 07:03:45 PM
http://wiki.centos-webpanel.com/mssql-extension-for-php7
Title: Re: Hpw to install mssql support
Post by: gemisu on August 07, 2019, 11:25:22 AM
I need the installation of mssql for php 6