connect to sqlsrv through php
i'm trying to connect to sqlsrv from php without luck.
i have iis 7 with php manager version 5.4.7
i update my php.ini file with the relevant exstantion .
when i remove the sqlsrv extantions from the php.ini i get an error like :
Fatal error: Call to undefined function sqlsrv_connect() in C:\inetpub\wwwr
and when i add the file php_sqlsrv_54_ts.dll to the extantion i get the error:
message: This extension requires the Microsoft SQL Server 2012 Native Client.
Access the following URL to download the Microsoft SQL Server 2012 Native Client ODBC driver for x86: http://go.microsoft.com/fwlink/?LinkId=163712
message: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
My system type is 64 bit.
Please help me....
Solutions to the Problem connect to sqlsrv through php
Running System Update Readiness Command
On running the System Update readiness Command, it will Detect & Replace Incorrect Registry data with the Correct one. Which may ultimately Solve connect to sqlsrv through php in Windows.
- Open CMD as Administrator by Simply Right Clicking on Start button > Command Prompt (Admin).
- Now Type or Copy paste "DISM.exe /Online /Cleanup-image /Scanhealth" and hit Enter,
- Now again Type or Copy paste this "DISM.exe /Online /Cleanup-image /Restorehealth" and hit Enter.
- Close the Command Prompt Window because we are done.
Try and see if you still get the same error connect to sqlsrv through php in your Windows.
Note: You may be prompted to enter your administrator's password when you try to execute certain system tasks!
Recommended Method to Fix the Problem: connect to sqlsrv through php:
How to Fix connect to sqlsrv through php with SmartPCFixer?
1. You can Download Error Fixer here. Install it on your system. When you open SmartPCFixer, it will perform a scan.
2. After the scan is finished, you can see the errors and problems need to be repaired. Click Fix All.
3. When the Fixing part is finished, your computer has been speeded up and the errors have been removed
Related: Best Way to Download Satellite L645-SP4004M WinDVD BD for Toshiba v.10.0.6.110 driver,Download Toshiba Satellite C655D-S5057 Wireless LAN Driver v.184.108.40.2068.0,Method to Update & Download Toshiba Satellite L650-BT2N22 Web Camera Application v.220.127.116.11 driver,How Can You Update & Download Toshiba Satellite L775D-S7220GR Value Added Package v.1.6.0130.640204 driver,Download Toshiba Satellite Pro L750-SP5176FM Sleep Utility v.1.4.0025.000101 driver,Best Way to Download NVidia GeForce 6100 VGA Driver v.304.51 Certified,How Can You Update & Download NVidia GeForce 9300/nForce 730i VGA Driver v.310.19 Certified,Method to Download NVidia GeForce GT 330M Driver v.340.65,How Can I Update & Download NVidia GeForce GTX 590 Driver v.280.26 WHQL,Method to Download NVidia Tesla C2050 Driver v.319.17,Way to Download RealTek RTL8100C(L) Driver v.5.01,Way to Download RealTek RTL8100E Drivers v.694,Way to Update & Download RealTek RTL8101L Auto Installation Program v.6.110 driver,Method to Update & Download RealTek RTL8111G PXE and RPL ROM code v.2.58 driver,How to Update & Download RealTek RTL8411B(N) Driver v.10.003,Best Way to Update & Download ASUS A53SV nVidia Graphics Driver v.18.104.22.16886,Method to Herunterladen ASUS K75VJ Intel Rapid Storage Technology Treiber v.22.214.171.1240,How Can You Update & Download ASUS CG8580 Intel Chipset Driver v.126.96.36.1999,Method to Update & Download ASUS K41VD Intel INF Update Driver v.188.8.131.525,Way to Update & Download ASUS Pro70T NB Probe v.3.0.0026 driver
Read More: Solution to Problem: computer will not boot if USB device is plugged in,Fast Solution to Problem: Connected to the internet but the internet icon has an x over it like it does when there are no connections available.,[Solved] Conditional format and blank cells,How to Resolve - Computer Lagging?,Solution to Error: Component 'SSCALA32.OCX' not correctly registered:file is missing or invalid.?,Can't change homegroup sharing permission,Can't connect XP shared printer to Win7 except as a local printer.__,Can You Connect the LAN Adapter for Wii On your Windows 7 Laptop?,Can These Files Be Deleted,Can’t install Microsoft Flight Simulator X Gold Edition error 1722