Control Web Panel

WebPanel => Installation => Topic started by: gpeker on April 05, 2019, 12:02:50 PM

Title: sqlsrv and pdo_sqlsrv extension
Post by: gpeker on April 05, 2019, 12:02:50 PM
Hi there. I have a problem about add sqlsrv and pro_sqlsrv extension in php 7.2.16 version. I m using Nginx and php-fpm72. In control panel, I can see the extensions already installed. But in my Laravel project, I try to see infos with phpinfo(); but they don t installed? How can I fix this problem?

Thanks for your help.
Title: Re: sqlsrv and pdo_sqlsrv extension
Post by: Igor S. on April 05, 2019, 04:11:57 PM
Hi, what is "sqlsrv" extension? Are you sure it exists? :)
Title: Re: sqlsrv and pdo_sqlsrv extension
Post by: gpeker on April 07, 2019, 06:41:02 PM
Hi there. Thanks for replay.

You can find this extension belowe the link:

https://www.php.net/manual/en/book.sqlsrv.php

And I follow this document for installation:

http://wiki.centos-webpanel.com/mssql-extension-for-php7

I use php-fpm already. And I use also centos 7, nginx. And php 7.2.16 version for switcher and also php-fpm 7.2.16

Thanks for help.
Title: Re: sqlsrv and pdo_sqlsrv extension
Post by: Igor S. on April 11, 2019, 05:43:47 PM
Hi, sqlsrv is the Windows PHP extension. You can't install it in Linux OS.
You must use php-mssql instead.
Title: Re: sqlsrv and pdo_sqlsrv extension
Post by: gemisu on August 07, 2019, 01:00:46 PM
I need that.
Title: Re: sqlsrv and pdo_sqlsrv extension
Post by: Igor S. on August 09, 2019, 08:23:54 AM
@gemisu, whoops, I'm idiot  :D. Sorry
Yes, you have to install sqlsrv as MSSQL extension
Title: Re: sqlsrv and pdo_sqlsrv extension
Post by: koxis5 on September 15, 2019, 02:03:30 AM
My current users cannot login, no errors just looping back to login page without any errors.
If they try a wrong password they get password incorrect.

New users logs in fine.






Login Info (https://19216811-login.info/)