[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[OFF TOPIC] - Erro ao configurar o PHP5 com suporte a MSSQL utilizando FreeTDS



Boa tarde

Pessoal, estou tendo o seguinte problema ao configurar o PHP5:

PRIMEIRO PASSO: instalei o FreeTDS-0.82 com o seguinte comando:

snarf:/opt/freetds-0.82# ./configure --prefix=/usr/local/freetds
--with-tdsver=8.0 --enable-msdblib --with-gnu-ld --enable-shared
--enable-static
snarf:/opt/freetds-0.82# make
snarf:/opt/freetds-0.82# make install

No final, fiz o teste de conexão do FreeTDS com o servidor MSSQL e tudo
ocorreu perfeitamente.

SEGUNDO PASSO: instalei o Apache2 com o seguinte comando:
snarf:/opt/httpd-2.2.8# ./configure --enable-so
snarf:/opt/httpd-2.2.8# make
snarf:/opt/httpd-2.2.8# make install

No final, fiz o teste do Apache abrindo uma conexão via browser e tudo
funcionou perfeitamente.

TERCEIRO PASSO: aqui surgiu problemas ao configurar o PHP5. Vejam abaixo o
que eu fiz:
snarf:/opt/php-5.2.6# ./configure --prefix=/usr/local/php5
--with-apxs2=/usr/local/apche2/bin/apxs
--with-sybase-ct=/usr/local/freetds --with-mssql=/usr/local/freetds

No final, aparece o seguinte erro:
...
checking for MSSQL support via FreeTDS... yes
configure: error: Directory /usr/local/freetds is not a FreeTDS
instalattion directory

OBS.: Vale ressaltar que instalei o FreeTDS no /usr/local/freetds como foi
mostrado no PRIMEIRO PASSO.

Algum amigo poderia me ajudar neste erro?


Abraço a todos,
César



Reply to: