Control Web Panel
WebPanel => Installation => Topic started 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?
-
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
-
Hi.
I would like to give me details on how to do it.
-
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
-
Hi, you can open a ticket for control-webpanel.com/support-service
Or you can ask to help you some experienced sysadmin ;)
-
http://wiki.centos-webpanel.com/mssql-extension-for-php7
-
I need the installation of mssql for php 6