<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>PHPBuilder.com - Install</title>
		<link>http://board.phpbuilder.com/</link>
		<description>Conversation regarding installation and upgrade of PHP</description>
		<language>en</language>
		<lastBuildDate>Tue, 21 May 2013 12:42:04 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://board.phpbuilder.com/images/misc/rss.png</url>
			<title>PHPBuilder.com - Install</title>
			<link>http://board.phpbuilder.com/</link>
		</image>
		<item>
			<title><![CDATA[[RESOLVED] Call to undefined function sqlsrv_connect()]]></title>
			<link>http://board.phpbuilder.com/showthread.php?10389591-RESOLVED-Call-to-undefined-function-sqlsrv_connect()&amp;goto=newpost</link>
			<pubDate>Thu, 02 May 2013 14:37:03 GMT</pubDate>
			<description><![CDATA[I am moving my site and database to a new server.  The configuration is nearly the same except the new server is 64bit.  I can connect to the database remotely with the username and password that I have in my php code to connect.  Here is my database connect code:


Code:
---------
<?php
$serverName = 'Nick_C_Desktop\SQLEXPRESS';
$connectionInfo = array('Database'=>'CSLogs', 'UID'=>'cslogslogin', 'PWD'=>'123456');
$connection = sqlsrv_connect($serverName, $connectionInfo);
?>
---------
This code worked perfectly fine on my old server, but gives me this error:
 
Fatal error: Call to undefined function sqlsrv_connect() in C:\wamp\www\cslogs\includes\db_connect.php on line 4
 
I have these two items in my php.ini file enabled:
 
extension=php_pdo_sqlsrv_53_ts.dll
extension=php_sqlsrv_53_ts.dll
 
Which is what I had before.  Using Wamp Server. PHP 5.3.13 all the same as before.  What else am I missing that is not allowing this to connect to the SQL server.  Thanks in advance!]]></description>
			<content:encoded><![CDATA[<div>I am moving my site and database to a new server.  The configuration is nearly the same except the new server is 64bit.  I can connect to the database remotely with the username and password that I have in my php code to connect.  Here is my database connect code:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&lt;?php<br />
$serverName = 'Nick_C_Desktop\SQLEXPRESS';<br />
$connectionInfo = array('Database'=&gt;'CSLogs', 'UID'=&gt;'cslogslogin', 'PWD'=&gt;'123456');<br />
$connection = sqlsrv_connect($serverName, $connectionInfo);<br />
?&gt;</code><hr />
</div> This code worked perfectly fine on my old server, but gives me this error:<br />
 <br />
Fatal error: Call to undefined function sqlsrv_connect() in C:\wamp\www\cslogs\includes\db_connect.php on line 4<br />
 <br />
I have these two items in my php.ini file enabled:<br />
 <br />
extension=php_pdo_sqlsrv_53_ts.dll<br />
extension=php_sqlsrv_53_ts.dll<br />
 <br />
Which is what I had before.  Using Wamp Server. PHP 5.3.13 all the same as before.  What else am I missing that is not allowing this to connect to the SQL server.  Thanks in advance!</div>

 ]]></content:encoded>
			<category domain="http://board.phpbuilder.com/forumdisplay.php?7-Install">Install</category>
			<dc:creator>ncurran217</dc:creator>
			<guid isPermaLink="true">http://board.phpbuilder.com/showthread.php?10389591-RESOLVED-Call-to-undefined-function-sqlsrv_connect()</guid>
		</item>
	</channel>
</rss>
