Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: AcemiPenguen on May 08, 2020, 11:50:30 PM

Title: SQLSRV is not running
Post by: AcemiPenguen 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?
Title: Re: SQLSRV is not running
Post by: Sandeep on May 09, 2020, 10:35:36 AM
hi for which php module (switcher. selector or fpm selector?) you're installing ?
Title: Re: SQLSRV is not running
Post by: AcemiPenguen 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. :)
Title: Re: SQLSRV is not running
Post by: Sandeep on May 09, 2020, 07:13:49 PM
whats in the php build log ? search for the sqlsrv and see if all installed correctly.
Title: Re: SQLSRV is not running
Post by: dhwalin 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
Title: Re: SQLSRV is not running
Post by: Sandeep 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.