how to install visual c++ 2008 redisrtibutable on flash driv

Problems with the Windows version of XAMPP, questions, comments, and anything related.

how to install visual c++ 2008 redisrtibutable on flash driv

Postby davidm » 18. June 2016 11:23

Hi I'm trying to install a portable version of xampp v5.6.21 onto a flash drive. I'm informed that there's a problem with php.exe and I need to install Microsoft Visual C++ 2008 redistributable package, but when I try to install it, it installs directly to C: (without asking), how do I install this to the flash drive with xampp.

Thanks for any help
David
davidm
 
Posts: 2
Joined: 20. May 2011 18:52

Re: how to install visual c++ 2008 redisrtibutable on flash

Postby Nobbie » 18. June 2016 15:30

davidm wrote:Hi I'm trying to install a portable version of xampp v5.6.21 onto a flash drive. I'm informed that there's a problem with php.exe and I need to install Microsoft Visual C++ 2008 redistributable package, but when I try to install it, it installs directly to C: (without asking), how do I install this to the flash drive with xampp.


You should ask this question in a Microsoft Forum, but anyway, i dont think that you can install it somewhere else than into the Windows System Folder. It is part of Windows.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: how to install visual c++ 2008 redisrtibutable on flash

Postby gsmith » 18. June 2016 16:24

PHP 5.6.21 is built with Visual C++ 2012 (VC11) and not 2008 (VC9). You have a copy of msvcr110.dll and msvcp110.dll in the xampp/Apache/bin folder. Place another copy of these in your php folder and php should then run as a stand-alone app.

Edit: As long as you are running on Windows Vista or above as VC11 does not run on XP/Server 2003, but those Windows versions should not be in use anymore.
gsmith
 
Posts: 278
Joined: 29. November 2013 18:04
Location: San Diego
XAMPP version: 0.0.0
Operating System: Win 10/2012R VS 14,15,16


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 140 guests