Erro ao instalar o SQLSRV

1. Erro ao instalar o SQLSRV

Kaio Tonheiro
OficialKnoxville

(usa Red Hat)

Enviado em 05/11/2018 - 16:24h

Senhores, boa tarde,


Estou tentando instalar o SQLSRV em uma máquina com CentOS 6 com Kernel 2.6.32 e estou tendo o seguinte erro:

Loaded plugins: universal-hooks
Setting up Install Process
No package php-sqlsrv available.
No package php-pdo_sqlsrv available.
Error: Nothing to do


___________________________________________________________________________________________________

Tentei fazer a instalação pelo: pecl install sqlsrv


E tive a seguinte saída:


/bin/sh /root/tmp/pear/pear-build-rootHObZnp/sqlsrv-5.3.0/libtool --mode=compile g++ -std=c++11 -I. -I/root/tmp/pear/sqlsrv -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootHObZnp/sqlsrv-5.3.0/include -I/root/tmp/pear/pear-build-rootHObZnp/sqlsrv-5.3.0/main -I/root/tmp/pear/sqlsrv -I/opt/cpanel/ea-php70/root/usr/include/php -I/opt/cpanel/ea-php70/root/usr/include/php/main -I/opt/cpanel/ea-php70/root/usr/include/php/TSRM -I/opt/cpanel/ea-php70/root/usr/include/php/Zend -I/opt/cpanel/ea-php70/root/usr/include/php/ext -I/opt/cpanel/ea-php70/root/usr/include/php/ext/date/lib -I/root/tmp/pear/sqlsrv/shared/ -DHAVE_CONFIG_H -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /root/tmp/pear/sqlsrv/conn.cpp -o conn.lo
libtool: compile: g++ -std=c++11 -I. -I/root/tmp/pear/sqlsrv -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootHObZnp/sqlsrv-5.3.0/include -I/root/tmp/pear/pear-build-rootHObZnp/sqlsrv-5.3.0/main -I/root/tmp/pear/sqlsrv -I/opt/cpanel/ea-php70/root/usr/include/php -I/opt/cpanel/ea-php70/root/usr/include/php/main -I/opt/cpanel/ea-php70/root/usr/include/php/TSRM -I/opt/cpanel/ea-php70/root/usr/include/php/Zend -I/opt/cpanel/ea-php70/root/usr/include/php/ext -I/opt/cpanel/ea-php70/root/usr/include/php/ext/date/lib -I/root/tmp/pear/sqlsrv/shared/ -DHAVE_CONFIG_H -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /root/tmp/pear/sqlsrv/conn.cpp
cc1plus: error: unrecognized command line option "-std=c++11"
cc1plus: error: unrecognized command line option "-std=c++11"
make: *** [conn.lo] Error 1
ERROR: `make' failed




Alguém já passou por isso ?

Obrigado
Kaio Tonheiro


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts