
rikatz
(usa Slackware)
Enviado em 08/11/2009 - 21:46h
Olá:
Respondendo primeiro à mais facil: Não, o MySQL não deixa de funcionar. Cada módulo no PHP é independente, assim você pode ter suporte a MySQL, Postgres, Oracle, SQL Server, o que mais precisar.
Quanto à segunda pergunta, para obter suporte à conexões ao SQL Server via PHP você deve utilizar um aplicativo para Linux de acesso a servidores SQL Server chamado FreeTDS (na verdade, ele serve para o acesso a outras bases também) e recompilar o seu PHP com suporte ao mesmo.
Outras referências:
http://www.php.net/manual/en/mssql.requirements.php ("To use the MSSQL extension on Unix/Linux, you first need to build and install the FreeTDS library. Source code and installation instructions are available at the FreeTDS home page: »
http://www.freetds.org/)
http://www.php.net/manual/en/mssql.installation.php (" To get these functions to work, you have to compile PHP with --with-mssql[=DIR], where DIR is the FreeTDS install prefix. And FreeTDS should be compiled using --enable-msdblib.
")
Espero ter ajudado