{"id":567,"date":"2013-06-29T07:16:06","date_gmt":"2013-06-29T07:16:06","guid":{"rendered":"http:\/\/nirvaat.com\/?p=567"},"modified":"2013-06-29T07:16:06","modified_gmt":"2013-06-29T07:16:06","slug":"adding-mssql-support-in-php5-on-debian-or-ubuntu","status":"publish","type":"post","link":"https:\/\/nirvaat.com\/blogs\/2013\/06\/adding-mssql-support-in-php5-on-debian-or-ubuntu\/","title":{"rendered":"Adding mssql support in php5 on Debian or Ubuntu"},"content":{"rendered":"<p>To add\/install MSSQL support in PHP5 on Debian linux server, follow the below steps:<\/p>\n<ol>\n<li>Install FreeTDS and the PHP MS SQL extension<\/li>\n<\/ol>\n<p><code>sudo apt-get install freetds-common freetds-bin unixodbc php5-sybase<\/code><br \/>\nNote: That is correct, the MS SQL extension is in the \u201cphp5-sybase\u201d package.<\/p>\n<ol>\n<li>Restart Apache<\/li>\n<\/ol>\n<p><code>sudo \/etc\/init.d\/apache2 restart<\/code><\/p>\n<p>If everything went fine then you will be able to connect to your MSSQL Server using mssql_connect().<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To add\/install MSSQL support in PHP5 on Debian linux server, follow the below steps: Install FreeTDS and the PHP MS SQL extension sudo apt-get install freetds-common freetds-bin unixodbc php5-sybase Note: That is correct, the MS SQL extension is in the \u201cphp5-sybase\u201d package. Restart Apache sudo \/etc\/init.d\/apache2 restart If everything went fine then you will be [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"_vp_format_video_url":"","_vp_image_focal_point":[],"footnotes":""},"categories":[36,4],"tags":[],"class_list":["post-567","post","type-post","status-publish","format-standard","hentry","category-linux-admin-debian-fedora","category-web-development"],"_links":{"self":[{"href":"https:\/\/nirvaat.com\/blogs\/wp-json\/wp\/v2\/posts\/567","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nirvaat.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nirvaat.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nirvaat.com\/blogs\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/nirvaat.com\/blogs\/wp-json\/wp\/v2\/comments?post=567"}],"version-history":[{"count":1,"href":"https:\/\/nirvaat.com\/blogs\/wp-json\/wp\/v2\/posts\/567\/revisions"}],"predecessor-version":[{"id":568,"href":"https:\/\/nirvaat.com\/blogs\/wp-json\/wp\/v2\/posts\/567\/revisions\/568"}],"wp:attachment":[{"href":"https:\/\/nirvaat.com\/blogs\/wp-json\/wp\/v2\/media?parent=567"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nirvaat.com\/blogs\/wp-json\/wp\/v2\/categories?post=567"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nirvaat.com\/blogs\/wp-json\/wp\/v2\/tags?post=567"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}