{"id":1020,"date":"2013-05-16T11:24:58","date_gmt":"2013-05-16T14:24:58","guid":{"rendered":"http:\/\/www.franklinjr.com\/blog\/?p=1020"},"modified":"2013-05-16T11:24:58","modified_gmt":"2013-05-16T14:24:58","slug":"mssql_connect-no-php-5-3","status":"publish","type":"post","link":"https:\/\/www.franklinjr.com\/blog\/index.php\/2013\/05\/16\/mssql_connect-no-php-5-3\/","title":{"rendered":"mssql_connect no php 5.3"},"content":{"rendered":"<p>A partir do php 5.3 VC9, a dll do conector do mssql do php n\u00e3o vem junto no diret\u00f3rio de extens\u00f5es do php, ent\u00e3o se tu descomentar a dll no php.ini ela n\u00e3o ir\u00e1 funcionar. O substituto para o mssql_connect \u00e9 o sqlsrv_connect, que pode ser baixado no link\u00a0<a href=\"http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=20098\">http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=20098<\/a>\u00a0, ap\u00f3s baixar, \u00e9 necess\u00e1rio instalar o sql native client em sua m\u00e1quina, o download pode ser feito em\u00a0<a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkID=188401&amp;clcid=0x409\" target=\"_blank\">http:\/\/go.microsoft.com\/fwlink\/?LinkID=188401&amp;clcid=0x409<\/a>\u00a0para vers\u00f5es x64. Se instalar a vers\u00e3o 3.0 do sqlsrv_connect, o sql native client deve ser na vers\u00e3o 2012, que pode ser baixado em\u00a0<a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkID=236805\" target=\"_blank\">http:\/\/go.microsoft.com\/fwlink\/?LinkID=236805<\/a>. Nesse outro link tem mais informa\u00e7\u00f5es referente \u00e0s vers\u00f5es e requeirimentos para o funcionamento do sqlsrv_connect\u00a0<a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/cc296170.aspx\">http:\/\/msdn.microsoft.com\/en-us\/library\/cc296170.aspx<\/a><\/p>\n<p>E exemplos de funcionamento tem no <a title=\"Manual php: sqlsrv\" href=\"http:\/\/php.net\/book.sqlsrv.php\" target=\"_blank\">php.net<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A partir do php 5.3 VC9, a dll do conector do mssql do php n\u00e3o vem junto no diret\u00f3rio de extens\u00f5es do php, ent\u00e3o se tu descomentar a dll no php.ini ela n\u00e3o ir\u00e1 funcionar. O substituto para o mssql_connect \u00e9 o sqlsrv_connect, que pode ser baixado no link\u00a0http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=20098\u00a0, ap\u00f3s baixar, \u00e9 necess\u00e1rio instalar o [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[76],"tags":[475,504,430,505],"class_list":["post-1020","post","type-post","status-publish","format-standard","hentry","category-php","tag-mssql","tag-php-5-3","tag-sql-server","tag-sqlsrv"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\r\n<title>mssql_connect no php 5.3 - Franklin Jr.<\/title>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/www.franklinjr.com\/blog\/index.php\/2013\/05\/16\/mssql_connect-no-php-5-3\/\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.franklinjr.com\\\/blog\\\/index.php\\\/2013\\\/05\\\/16\\\/mssql_connect-no-php-5-3\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\\\/\\\/www.franklinjr.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"mssql_connect no php 5.3\"}]}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"mssql_connect no php 5.3 - Franklin Jr.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.franklinjr.com\/blog\/index.php\/2013\/05\/16\/mssql_connect-no-php-5-3\/","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/www.franklinjr.com\/blog\/index.php\/2013\/05\/16\/mssql_connect-no-php-5-3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/www.franklinjr.com\/blog\/"},{"@type":"ListItem","position":2,"name":"mssql_connect no php 5.3"}]}]}},"_links":{"self":[{"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1020","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1020"}],"version-history":[{"count":2,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1020\/revisions"}],"predecessor-version":[{"id":1022,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1020\/revisions\/1022"}],"wp:attachment":[{"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1020"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1020"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1020"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}