Instalar pdo_sqlsrv y sqlsrv driver php 7.0

Por admin-dayscript, 25 Abril, 2017

sudo apt-get install unixodbc-dev

sudo pecl search sqlsrv

sudo pecl install sqlsrv-4.1.6.1

sudo pecl install pdo_sqlsrv-4.1.6.1

sudo su apt-get update apt-get -y install php7.0 mcrypt php7.0-mcrypt php-mbstring php-pear php7.0-dev php7.0-xml

sudo su curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list > /etc/apt/sources.list.d/mssql-release.list exit sudo apt-get update sudo ACCEPT_EULA=Y apt-get install msodbcsql mssql-tools sudo apt-get install unixodbc-dev-utf16

Comentarios