{"id":1993,"date":"2022-08-30T15:21:09","date_gmt":"2022-08-30T15:21:09","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/12\/08\/zend-1-on-ubuntu-with-mssql-not-working-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:21:09","modified_gmt":"2022-08-30T15:21:09","slug":"zend-1-on-ubuntu-with-mssql-not-working-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/zend-1-on-ubuntu-with-mssql-not-working-collection-of-common-programming-errors\/","title":{"rendered":"Zend 1 on Ubuntu with MSSQL not working-Collection of common programming errors"},"content":{"rendered":"<p>Does anyone know how to solve the following issue? If not, does anyone know how to setup Zend 1 on Linux to communicate with msSQL server?<\/p>\n<p>We get the following error in the nginx logs when trying to use freetds and the pdo_dblib adapter. We&#8217;re running Zend 1.2 on Ubuntu 12.04 using nginx 1.2.7<\/p>\n<pre><code>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\nPHP 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\nPHP 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\nPHP 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\nPHP 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\nStack trace:\n0 \/www\/development\/library\/Zend\/Db.php(263): Zend_Loader::loadClass('Zend_Db_Adapter...')\n1 \/www\/development\/library\/Zend\/Application\/Resource\/Db.php(142): Zend_Db::factory('PDO_DBLIB', Array)\n2 \/www\/development\/library\/Zend\/Application\/Resource\/Db.php(154): Zend_Application_Resource_Db-&gt;getDbAdapter()\n3 \/www\/development\/library\/Zend\/Application\/Bootstrap\/BootstrapAbstract.php(680): Zend_Application_Resource_Db-&gt;init()\n4 \/www\/development\/library\/Zend\/Application\/Bootstrap\/BootstrapAbstract.php(623): Zend_Application_Bootstrap_BootstrapAbstract-&gt;_executeResource('db')\n5 \/www\/development\/library\/Zend\/Application\/Bootstrap\/BootstrapAbstract.php(583): Zend_Application_Bootstrap_BootstrapAbstract-&gt;_bootstrap(NULL)\n6 \/www\/development\/library\/Zend\/Appli\" while reading response header from upstream, client: 108\n<\/code><\/pre>\n<p>We&#8217;ve tried this and this tutorial.<\/p>\n<p id=\"rop\"><small>Originally posted 2013-12-08 05:39:53. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Does anyone know how to solve the following issue? If not, does anyone know how to setup Zend 1 on Linux to communicate with msSQL server? We get the following error in the nginx logs when trying to use freetds and the pdo_dblib adapter. We&#8217;re running Zend 1.2 on Ubuntu 12.04 using nginx 1.2.7 2013\/02\/27 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1993","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1993","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1993"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1993\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1993"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1993"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}