Page 1 of 1

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

PostPosted: 18. June 2016 11:23
by davidm
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

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

PostPosted: 18. June 2016 15:30
by Nobbie
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.

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

PostPosted: 18. June 2016 16:24
by gsmith
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.