Pb Sqlserv driver for wamp server 2.5 php 5.5.12
Posted by: abouhanna (41.110.187.---)
Date: July 09, 2015 05:22PM

Hello,

I trying to develop a new application that needs to connect to SQL server database so I have to install sqlserv

driver (PDO or not ), so for that I use :

wamp 2.5
apache 2.4.9
PHP 5.5.12
SQL server Express 2014

and I downloaded the specific driver from MSDN SQLSRV31.EXE [www.microsoft.com]

finally I configured wamp like this :

- I added php_pdo_sqlsrv_55_ts.dll and php_sqlsrv_55_ts.dll to ext (c:/wamp/bin/php/php5.5.12/ext/) folder of php
- I added extensions to php.ini and php4apache.ini like this :

extension=php_sqlsrv_55_ts.dll
extension=php_pdo_sqlsrv_55_ts.dll
NB: the extensions dir is set to : extension_dir = "c:/wamp/bin/php/php5.5.12/ext/"

the problem is the methode sqlserv_connet in still undefined and the driver is not figured in phpinfo()

help me !!!!

Thnx

Options: ReplyQuote
Re: Pb Sqlserv driver for wamp server 2.5 php 5.5.12
Posted by: RiggsFolly (---.as43234.net)
Date: July 09, 2015 08:40PM

I am afraid you are going to have to read the manual [php.net] there are no experts on this subject that hang out here

This is probably what you have not done

Quote

The SQLSRV extension requires that the Microsoft SQL Server 2012 Native Client be installed on the same computer that is running PHP

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-



Edited 1 time(s). Last edit at 07/09/2015 08:41PM by RiggsFolly.

Options: ReplyQuote


Sorry, only registered users may post in this forum.