i have installed Ampps server and Wamp server on my computer in two different drives. Now i am trying to run "yiic" on command prompt but its throwing a popup window saying that "MSVR100.dll is missing try reintalling the program to fix this problem".one thing more i would like to add is that, since i have gone through google to fix the problem of MSVCR100.dll and i have installed all the suggested files (from the microsoft website) installed msvcr100.dll but the problem still exists with me.
I have been wondering around Google and all search engines and I came to result that the problem was in yiic.bat which was something like:
set YII_PATH=%~dp0
if "%PHP_COMMAND%" == "" set PHP_COMMAND=php.exe
"%PHP_COMMAND%" "%YII_PATH%yiic" %*
#endlocal
I changed the code to following code
set YII_PATH=F:\wamp\www\yii\framework\
if "%PHP_COMMAND%" == "" set PHP_COMMAND=F:\wamp\bin\php\php5.4.16\php.exe
"%PHP_COMMAND%" "%YII_PATH%yiic" %*
#endlocal
Which means
please look into the YII_PATH to be upto path\to\framework\
and
if "%PHP_COMMAND%" == "" set PHP_COMMAND to be upto path\to\php.exe
Try installing or update Microsoft C++:
For Windows 32 bit OS:
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)
For Windows 64 bit OS:
Microsoft Visual C++ 2008 Redistributable Package (x64)
Microsoft Visual C++ 2010 SP1 Redistributable Package (x64)
This is a possible solution.
Related
I try to install wampserver3.0.6_x64 and I get the following message
the program can't start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer
I have installed all the things
I read in StackOverflow that I need to install Universal C Runtime, but I can't install this.
I'd love to know how to fix it.
UPDATE:
Simplest Solution
Download a full set of MSVC runtimes from the WAMPServer alternate repo which can be found here Look at the bottom of the page, there is a download called All Visual C++ Redistribuable Packages (x86) (32bits) or All Visual C++ Redistribuable Packages (x86_x64) (32 & 64bits)
This will download a ZIP file containing all the possible required MSVC Runtime library installers. UnZip the file and run all the installers it exposes, in a logical order from lowest version to highest, one at a time.
I notice from your pictures that you have not installed any of the prerequisite MSVC Runtime libraries mentioned in the WAMPServer install process. So you will need to read this carefully and make sure your OS is fully capable of running any version of APache/MYSQL & PHP that can be installed with WAMPServer.
Before running a WAMPServer install, you must read these prerequisites:
BEFORE proceeding with an installation of Wampserver, you must ensure that you have current versions of all these Microsoft C/C++ Runtime Libraries, if you do not check and install any missing libraries before you install Wampserver it will not install correctly and will not run correctly!
If you installed WAMPServer without paying attention to the install Dialog specifying these pre-requisites your installation will be faulty and you will need to remove Wampserver BEFORE installing any missing Runtime Libraries. and then re-install WAMPServer when all runtimes are installed.
Make sure your system has "up to date" versions of ALL these redistributable packages:-
Microsoft Visual C/C++ Redistributable 2008 (VC9),
Microsoft Visual C/C++ Redistributable 2010 (VC10),
Microsoft Visual C/C++ Redistributable 2012 (VC11),
Microsoft Visual C/C++ Redistributable 2013 (VC13),
Microsoft Visual C/C++ Redistributable 2015 (VC14),
Microsoft Visual C/C++ Redistributable 2017 (VC15)
BIG NOTE:
If you are running a 64bit Windows, it is recommended to install both the 32bit and 64bit versions of these runtime libraries. Remember Windows 64bit can run 32bit code and also it is possible to install either a 32bit or 64 bit WAMPServer on a 64bit Windows OS.
If you are running Window pre windows 10, and you are running a component that uses Apache/Mysql/PHP compiled with MSVC 2015(VC14) you will also need to install the Universal C Runtime This can be download via the standard Windows Update according to this document on the microsoft site
---- Update for Universal C Runtime in Windows
Links to all these redistributables can be found later in this post to assist you in finding and installing them.
Suggestion:
Please download each one individually and then complete it's install before downloading the next. The filenames of the downloaded installers are almost always the same regardless of version, it is easy to get confused and miss one out.
Check in Control Panel -> Programs and Features that they are all installed before proceeding to install WAMPServer.
Visual C++ Packages
The following packages (VC9, VC10, VC11) are required for Wampserver 2.4, 2.5 and 3 even if you use only Apache and PHP versions VC11.
VC14 is required for Apache version 2.4.17 (or greater) and for PHP 7.
Where to find and download the MSVC Redistributable packages:
VC9 Redistributable
For Windows 2000 Service Pack 4; Windows Server 2003; Windows Server 2008; Windows Vista; Windows XP, W7, W8
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) (32 bits)
Microsoft Visual C++ 2008 SP1 Redistributable Package (x64) (64bits)
VC10 Redistributable
For Windows 7; Windows Server 2003; Windows Server 2008; Windows Server 2008 R2; Windows Vista; Windows XP
Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)
Microsoft Visual C++ 2010 SP1 Redistributable Package (x64)
VC11 Redistributable
Note: VC11 or higher is not supported by Windows XP
Windows 7 Service Pack 1; Windows 8; Windows Server 2008 R2 SP1; Windows Server 2012; Windows Vista Service Pack 2
The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page:
Visual C++ Redistributable for Visual Studio 2012 Update 4 (x86 and x64)
VC13 Redistributable
Windows 7 Service Pack 1; Windows 8; Windows Server 2008 R2 SP1; Windows Server 2012; Windows Vista Service Pack 2
The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page:
Visual C++ Redistributable Packages for Visual Studio 2013
VC14 Redistributable (Required for Apache 2.4.17 and PHP 7)
Windows 10, Windows 7 Service Pack 1, Windows 8, Windows 8.1, Windows Server 2003 Service Pack 2, Windows Server 2008 R2 SP1, Windows Server 2008 Service Pack 2, Windows Server 2012, Windows Vista Service Pack 2
The two files vcredist_x86.exe et vcredist_x64.exe to be download are on the same page:
VC15 Redistribuable (Required for Apache 2.4.26)
Visual C++ Redistributable Packages for Visual Studio 2017 x86
Visual C++ Redistributable Packages for Visual Studio 2017 x64
VC2017 (VC15) is backward compatible to VC2015 (VC14). That means, a VC14 module can be used inside a VC15 binary. Because this compatibility the version number of the Redistributable is 14.1x.xx and after you install the Redistributable VC2017, VC2015 is removed but you can still use VC14.
Visual C++ Redistributable Packages for Visual Studio 2015 Update 3
Update for Universal C Runtime in Windows
Windows 10, Windows 7 Service Pack 1, Windows 8, Windows 8.1, Windows Server 2008 R2 SP1, Windows Server 2008 Service Pack 2, Windows Server 2012, Windows Vista Service Pack 2
Follow the links on this page for your specific environment
Update for Universal C Runtime in Windows
Note: If you installed WAMPServer before installing ALL these required runtimes, it is best to uninstall WAMPServer and then once all the runtimes are installed, reinstall WAMPServer
Simplest Solution
Download a full set of MSVC runtimes from the WAMPServer alternate repo which can be found here
Look at the bottom of the page, there is a download called All Visual C++ Redistribuable Packages (x86) (32bits) or All Visual C++ Redistribuable Packages (x86_x64) (32 & 64bits)
This will download a ZIP file containing all the possible required MSVC Runtime libraries. UnZip the file and run all the installers it exposes, in a logical order from lowest version to highest, one at a time.
Oh man, my customer has win7 and never updated. Took long time to run. Be careful people, you need SP1 on windows7 to install necessary vc packages
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.
I am using wampserver 2.5. After installation, when we start it, it produces the error
The procedure entry point php_win_err could not be located in the dynamic link library php5ts.dll
I also changed the port because some other application uses this port.
The MSVCR100.dll file is part of the Microsoft Visual C++, redistributables.
For Windows 32 : Be sure that you have installed the Visual C++ 2010 SP1 Redistributable Package x86 : VC10 SP1 vcredist_x86.exe
http://www.microsoft.com/download/en/details.aspx?id=8328
For Windows 64 : Be sure that you have installed the Visual C++ 2010 SP1 Redistributable Package x64 : VC10 SP1 vcredist_x64.exe
http://www.microsoft.com/download/en/details.aspx?id=13523
Apche wont be able to run without this component
I am having a problem adding an extention to PHP 5.4
I am running XAMPP 3.2.1 on Windows XP with PHP 5.4. Everything runs as expected.
But when I copy the php_dbase.dll to xampp/php/ext and and extension=php_dbase.dll to the php.ini file XAMMP will say:
This application has failed to start because MSVCR110.dll was not found.
PHP Startup: Unable to load dynamic library: 'C.\xampp\php\ext\php_dbase.dll' - The specific module could not be found
I did the same process on Windows 7 and it worked. But I need to do this on Windows XP.
Help please?
You need to install the Visual C++ Redistributable for Visual Studio 2012. Download it here
MSVCR110.dll is the Microsoft Visual C++ Redistributable dll that is needed for projects built with Visual Studio 2011. The dll letters spell this out.
MS = Microsoft, V = Visual, C = C++, R = Redistributable
For Winroy to get started, this file is probably needed.
This error appears when you wish to run a software which require the Microsoft Visual C++ Redistributable 2012. The redistributable can easily be downloaded on the Microsoft website as x86 or x64 edition. Depending on the software you wish to install you need to install either the 32 bit or the 64 bit version. Refer the following link: http://www.microsoft.com/en-us/download/details.aspx?id=30679
-- Yaqub K, Microsoft Support Engineer, 2013-08-20 from answers.microsoft.com
I installed wampserver 2.2e (php5.4.3 / apache 2.2.22) on my Windows 2003 machine, and get this error in the system event logs:
Generate Activation Context failed for C:\wamp\bin\php\php5.4.3\php5apache2_2.dll. Reference error message: The referenced assembly is not installed on your system.
The DLL in question does exist in the folder specified.
Update: VC10 SP1 (32-bit) was installed prior to wamp.
I previously had tried to install apache and php manually, and encountered issues with apache loading the php5 module correctly as well. I assumed that WAMP would work fine (it has on all other instances when I have installed). I did have an earlier version of both apache and php working on this machine.
Now I'm not so sure it's the install, but something with Windows?
Update 2: In the system event logs, I noticed this error each time I try to run wamp. I looks related as it is referencing VC9, but the website says to install VC10:
Dependent Assembly Microsoft.VC90.CRT could not be found and Last Error was The referenced assembly is not installed on your system.
You need to install the Microsoft Visual Studio C++ Redistributable Package. LINK This link is for the 2010 version. Check the PHP documentation, you may need an older version.
Taken directly from WAMP website:
WARNING : You must install Visual C++ 2010 SP1 Redistributable Package
x86 or x64 VC10 SP1 vcredist_x86.exe 32 bits :
http://www.microsoft.com/download/en/details.aspx?id=8328 VC10 SP1
vcredist_x64.exe 64 bits :
http://www.microsoft.com/download/en/details.aspx?id=13523
You also need Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
The 2010 VC redist is for Apache.
The 2008 redist is for Wampmanager.