Zend 1 no Ubuntu com o MSSQL não funcionando

2

Alguém sabe como resolver o seguinte problema? Se não, alguém sabe como configurar o Zend 1 no Linux para se comunicar com o servidor msSQL?

Obtemos o seguinte erro nos logs do nginx ao tentar usar o freetds e o adaptador pdo_dblib. Estamos executando o Zend 1.2 no Ubuntu 12.04 usando o nginx 1.2.7

2013/02/27 20:48:24 [error] 9057#0: *28 FastCGI sent in stderr: "PHP message: PHP Warning:  include_once(Zend/Db/Adapter/Pdo/Dblib.php): failed to open stream: No such file or directory in /www/development/library/Zend/Loader.php on line 146
PHP message: PHP Warning:  include_once(): Failed opening 'Zend/Db/Adapter/Pdo/Dblib.php' for inclusion (include_path='/www/development/application/../library:/www/development/library:.:/usr/share/php:/usr/share/pear') in /www/development/library/Zend/Loader.php on line 146
PHP message: PHP Warning:  include_once(Zend/Db/Adapter/Pdo/Dblib.php): failed to open stream: No such file or directory in /www/development/library/Zend/Loader.php on line 146
PHP message: PHP Warning:  include_once(): Failed opening 'Zend/Db/Adapter/Pdo/Dblib.php' for inclusion (include_path='/www/development/application/../library:/www/development/library:.:/usr/share/php:/usr/share/pear') in /www/development/library/Zend/Loader.php on line 146
PHP message: PHP Fatal error:  Uncaught exception 'Zend_Exception' with message 'File "Zend/Db/Adapter/Pdo/Dblib.php" does not exist or class "Zend_Db_Adapter_Pdo_Dblib" was not found in the file' in /www/development/library/Zend/Loader.php:99
Stack trace:
0 /www/development/library/Zend/Db.php(263): Zend_Loader::loadClass('Zend_Db_Adapter...')
1 /www/development/library/Zend/Application/Resource/Db.php(142): Zend_Db::factory('PDO_DBLIB', Array)
2 /www/development/library/Zend/Application/Resource/Db.php(154): Zend_Application_Resource_Db->getDbAdapter()
3 /www/development/library/Zend/Application/Bootstrap/BootstrapAbstract.php(680): Zend_Application_Resource_Db->init()
4 /www/development/library/Zend/Application/Bootstrap/BootstrapAbstract.php(623): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('db')
5 /www/development/library/Zend/Application/Bootstrap/BootstrapAbstract.php(583): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap(NULL)
6 /www/development/library/Zend/Appli" while reading response header from upstream, client: 108

Nós tentamos este e este tutorial.

    
por user162321 28.02.2013 / 18:12

1 resposta

0

Esta é mais uma questão do StackOverflow do que o ServerFault. Verifique a configuração do seu adaptador, provavelmente ele precisa ser o Pdo_Mssql.

    
por 20.02.2014 / 23:16