I am trying to connect php in apache(xampp v5.6.8) to ms sql server 2012..it keeps giving me the error
'The program can't start because MSVCP110.dll is missing from the computer. Try reinstalling the program to fix this problem'.
l downloaded and installed the visual c++ re-distributable for visual studio and located the MSVCP110.dll in my xampp php folder. It still gives the same error. Please can someone help.
Let me start by saying that non-PHP DLLs should not reside in PHP directory. They belong in either program's or system's directory.
Make sure you installed the right version of Visual C++ Redistributable for Visual Studio 2012 Update 4, be it 32bit or 64bit. You can try copying that DLL to either System32 or SysWoW64 (depends on your system version) directory of windows on your own risk.
UPDATE:
From your comment I learned that your system is 64bit. The fact that you found that DLL in System32 tells us that you installed 64bit Visual C++ Redistributables.
If your XAMPP is 32bit you should install additionally the same Visual C++ Redistributable for Visual Studio 2012 Update 4 but 32bit so your system has both of them, for 32bit and 64bit apps.
32bit applications don't use 64bit libraries. That should solve your problem.