Author Topic: SQLSRV is not running  (Read 5019 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
SQLSRV is not running
« on: May 08, 2020, 11:50:30 PM »
i try to open sqlsrv on php 7.3.17, clicked sqlsrv checkbox and rebuilded but not in list of info.. i tried all steps on cwp-wiki, all of success but still not working.. how can i install driver and run sqlsrv support on cwp?

Offline
*****
Re: SQLSRV is not running
« Reply #1 on: May 09, 2020, 10:35:36 AM »
hi for which php module (switcher. selector or fpm selector?) you're installing ?

Offline
*
Re: SQLSRV is not running
« Reply #2 on: May 09, 2020, 11:48:20 AM »
im using free version of cwp and i used PHP Version Switcher v2. Now running PHP version of my server 7.3.17 and tried rebuild with sqlsrv plugin but its not working.. if need some log, i can show, just say what should i write on console. :)

Offline
*****
Re: SQLSRV is not running
« Reply #3 on: May 09, 2020, 07:13:49 PM »
whats in the php build log ? search for the sqlsrv and see if all installed correctly.

Offline
*
Re: SQLSRV is not running
« Reply #4 on: May 29, 2020, 02:33:51 AM »
I am also facing same issue.

CENT OS 7

PHP 7.3 FPM I am using.

pecl install sqlsrv
pecl install pdo_sqlsrv

returning error that is already installed 5.8.1

Loaded /opt/alt/php-fpm73/usr/php/php.ini

Do I need to add extension=sqlsrv.so or anything?

By using sqlsrv_connect, error log is giving error that unable to call undefined function sqlsrv_connect

Offline
*****
Re: SQLSRV is not running
« Reply #5 on: May 29, 2020, 06:33:19 AM »
sqlsrv can be installed from php options and only available for php 7.xx ensure you install microsoft odbc drivers.