Control Web Panel
WebPanel => CentOS 7 Problems => Topic started 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?
-
hi for which php module (switcher. selector or fpm selector?) you're installing ?
-
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. :)
-
whats in the php build log ? search for the sqlsrv and see if all installed correctly.
-
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
-
sqlsrv can be installed from php options and only available for php 7.xx ensure you install microsoft odbc drivers.