ODBC Driver Download Failed
Anyone else having problems getting the ODBC 11 driver from Microsoft's site. The page just fails when I attempt to download.https://www.microsoft.com/en-us/download/details.aspx?id=36434ThanksCliff
View Articleconnect to localhost instance using PDO
Hi,I am just starting with SQL Server PDO drivers and I want to know how can I set the sqlsrv:server if I am going to use my localhost instance?My localhost instance name is JASSIM-RAHMAThanks,Jassim
View ArticleProblem Querying using PDO
Hi,I am trying to use PDO like this simple code:<?php $mysql_host = "(local)\JASSIM-RAHMA"; $mysql_database = array("Database"=>"food"); $mysql_connection = sqlsrv_connect($mysql_host,...
View Articlephp_mssql.dll not loading in PHP.ini
I am running PHP 5.6.21 under IIS on Windows Server 2012R2. PHP is working great. I need PHP to connect to a Microsoft SQL database, so I have this line uncommented in php.ini: extension=php_mssql.dll...
View ArticleResult Differ PHP 5.6 SQL Server 2014 and SQLSRV Driver Version 3.2
I've spent days on this with no luck. I've read this article several times through. SQL SRV Driver White Pages. Searching with Google yielded no results that worked. Any Insight would be appreciated....
View Articleinvalid db driver
I have 32 bit wamp server32 bit php 5.5.12CodeIgniter-3.0.4sqlsrv32,40,30,31and what I get is an Invalid db driver..can anyone please tell me wjat's wrong?
View ArticleODBC Connection
Hello,I'm currently developing a PHP-Application, that stores data in a Microsoft SQL database. I tried connecting to the database with the sqlsrv driver, but the driver showed an error-message and...
View ArticleCan't access SQL Server using PHP
Good Evening,I installed SQL Server 2016 Enterprise on Windows Server 2012 R2 and PHP using Microsoft WPI. I added the following lines in the php.ini file:extension=php_sqlsrv_7_ts_x86.dll...
View ArticleError to connect MSSQL database through PHP
I can open the .php file in window server 2016 TP5 and PHP 7.0.9. After I upgrade my system to Window Server 2016 and PHP 7.1, I cannot connect to the MSSQL Server.When I open the .php file in the...
View ArticleBulk Copy?
Does SQL Server Driver for PHP support Bulk Copy?If so, then how using SQL Server Driver for PHP API Reference?Thanks Jeff in Seattle
View ArticleApache vs IIS - Can the PHP / SQL Drivers be used with Apache + PHP + SQL...
Trying to get an Apache + PHP + SQL server upgraded to newer software. Having problems. Wondering if PHP SQL Server extensions are compatible with Apache.I have previously used a configuration with...
View Article0 rows being returned from SELECT query
I am trying to run a SELECT query to validate attempted logins to a website. I am running the following code. My problem is thateither the query is returning 0 rows or them number of rows is not being...
View ArticleInstalling MS SQL PHP drivers under Windows 2008 Server
Hi All,We are trying to setup MS SQL Server access from PHP 5.4 under Apache 2.2. The host is a Windows Server 2008 SP2 Enterprise. We downloaded the drivers from...
View ArticleHow to execute a stored procedure when using 1 param_in. The SP should return...
Hi,I have a stored procedure that requires @Date DATETIMEand will return a name (string) with a payout (decimal) and turnover (decimal).There will be multiple names with decimal values returned.I can...
View ArticleProblem retrieving varchar('max') as output parameter from procedure
Hi,I'm having the String data truncation problem, similar to this Thread: http://social.msdn.microsoft.com/Forums/en/sqldriverforphp/thread/780d21df-7342-4cf2-ab1b-a4fd0aac8657In this thread, the...
View ArticleProblem with entering Polish characters in PHP
Good evening,When I try to enter Polish characters (like ę, ą, ó and so on) into SQL Server via PHP, I get "strange" characters insterted instead of correct ones. Column is NVARCHAR and collation is...
View ArticleNeed help setting up Drupal 7 with SQL Sever 2008
Hello,I'm trying to learn Drupal 7.0 and setting up with SQL Server 2008. PHP is already installed and ready to go, and so is SQL Server. I already have a couple of database created and test with php...
View Articlecannot get my PHP app to connect to sql server
Hello, I have been trying to get my application to connect to sql server v17, while developing in Visual Studio 2017. When I run my application this is the error I get:Error connecting to SQL...
View ArticleSQL Server 2016 VMWare Windows 16 64bit - setup Oracle Driver
Hi,New VMWare SQL Server 2016 Windows 16 64bit - setup Oracle DriverWhere can I find the Oracle driver for SQL2016?How would I go about installing?Please HelpRegards
View ArticleInsert JSON records into SQL Server table using PHP
I hope this is the correct forum for PHP questions related to sql server.I would like to pull data for all the cities in my county from the census API into a table in sql server. I have been working...
View Article