I have installed WampServer 2.2 on Windows 8.1.
When I try to start WampServer, it shows the following error:
The program can't start because MVSCR110.dll is missing from your computer.
How can I fix this?
MVSCR110.dll references to the Visual C++ 2012 Redistributable, of which you do not have.
The Visual C++ 2012 Redistributable is required for Apache to run. The reason why your Wamp installation is not going online is because Apache is unable to start.
A forum post on the WAMP Server forums deals with this problem with an earlier version of Wamp, to quote:
For Windows 32 : Be sure that you have installed the Visual C++ 2012
SP1 Redistributable Package x86 : VC12 SP1 vcredist_x86.exe
For Windows 64 : Be sure that you have installed the Visual C++ 2012
SP1 Redistributable Package x64 : VC12 SP1 vcredist_x64.exe
Apache will not run without this component
In fact if you are running the 64bit Windows it is a good idea to
install all the 32bit libraries as well as the 64bit ones. After all
64bit windows runs 64 and 32 bit code. You will probably find you need
at least one of the 32bit runtimes for some app/utility you will
install at some point.
Some users have also said that installing the Redistributable for their processor type isn't enough, so it may be a good idea to install both x64 and x86 versions.
WampServer versions b and later require the VC++ 2012 version, which can be downloaded here.
As far as I remember Windows 8.1 comes (out of the box, so to speak) with only one of Microsofts Visual C++ runtimes installed.
It seems a little odd that you are getting the message you claim if you are in fact using WAMPServer 2.2(a,c,d,or e)
The program can't start because MVSCR110.dll is missing from your
computer.
As as far as I am aware nothing delivered by any of the WAMPServer 2.2 releases i.e. 2.2a, 2.2c, 2.2d, 2.2e were compiled with MSVC 2012. In fact as stated on the download pages on SourceForge
Attention : All the components of the v2.2 WampServer stack have been compiled with VC9 version of Microsoft compiler. Earlier versions of Wampserver have been made with VC6 version of Microsoft compiler. So, You can't mix components of 2.2 stack with previous version of Wampserver Stack components. If you do it you will get an instable Wampserver.
However, if that is in fact the error you are getting after installing WAMPServer 2.2, then that message is saying that you need to install the MSVC 2012 runtime library.
Which can be downloaded from here.
You will also need to make sure that you have the MSVC 2008 runtime library installed as well, as wampmanager.exe is an old program as has not needed to be recompiled for a while now which can be downloaded from here
This runtime will also be required to run Apache and MySQL executables if you did in fact install WAMPServer 2.2.something
Oh and if you are using a 64bit WAMPServer, you will need to download and install the 32bit AND the 64bit version of the MSVC 2008 runtime library, as wampmanager.exe is a 32bit program even if you have installed the 64bit version of WAMPServer and of course the Apache and MySQL will need the 64bit libraries.
If this does not fix your issue, then have a look at the Windows Event Log
Windows Key + R to launch the run dialog then enter eventvwr.exe and press the OK button
- On the left side of the windows click 'Windows Logs -> Applications'
- Look for the names 'Apache' or 'MySQL' in the 'Source' column which have a error symbol in the first column.
The error messages sent here are normally very descriptive and should at least point you in the right direction to solving your problem.
when you migrate to windows 8.1, MVSCR110.dll is outdated. then, it should be updated and installed into your PC again.
Related
Currently i have Php 5.3.13 on WAMP 2.2 and wish to upgrade php to next higher version. Also I've VS 2010 installed on my machine. While installing wamp 2.2, i installed VC9. Will installing VC11 affect my existing visual studio components?
**Edit - Sorry, i missed it. I'm doing dot net development and hence i've installed VS2010
You do not have to install the Visual Studio Suite. All that is required are the correct Visual Studio Version Runtime Libraries.
Do a google using "msvc runtime" as the search and you will get links to all the various versions of the Runtime Libraries. Its never a bad idea to have a complete set, as they are used by any software compiled with the MS Visual C/C++ compiler. If you are using a 64bit Windows then its also a good idea to download the 32bit and 64bit versions as of course Windows 64bit will also run Windows 32bit code.
I just installed the Windows 10 Technical Preview, and now I'm trying to install Wamp in order to install Composer on my machine. Yet when I go to use the PHP.exe file from Wamp for Composer, I get the following error:
The PHP exe file you specified did not execute correctly: C:\wamp\bin\php\php5.5.12\php.exe
I've checked the OpenSSL and it's enabled in all three files for Wamp. I've tried installing the 32-bit and 64-bit versions of Wamp, but neither work.
When I try to run PHP from command line, it tells me that the php.exe file is missing from my computer.
Has anyone else run into this problem? If so, have you found a solution for it?
Please and thank you.
I have just installed the Windows 10 Tech Preview myself. I see that it does not come with the Microsoft Visual C/C++ runtimes installed by default.
If you did not install the MSVC 2012, 2010 and 2008 runtimes, then I suggest you do that.
Having those runtimes installed and by entering
C:\wamp\bin\php\php5.5.12\php.exe -v
The PHP CLI runs.
If you are still using the 64bit WAMPServer please remember that you need to install the 32bit AND 64bit MSVC runtimes. The wampmanager.exe program is still a 32bit App regardless and therefore needs the 32bit MSVC runtimes. I think it actually only need the MSVC 2008, but it is safer to install all 3 version for both 32 and 64 bit.
I am trying to run PHP via FastCGI on a Windows 2008 server.
I followed this installation doc http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis7/ and have checked I completed the steps correclty numerous times.
However when I try to execute a php page i am presented with the following error:
HTTP Error 500.0 - Internal Server Error
C:\PHP\php-cgi.exe - The FastCGI process exited unexpectedly
maybe you should try installing VC++ runtime as explained here.
There's a fairly good chance you're missing the correct VC++ runtime for the version of PHP you're running.
If you're running PHP 5.5.x you need to ensure the VC++11 runtime is installed:
http://www.microsoft.com/en-us/download/details.aspx?id=30679
Make sure you download and install the x86 version (vcredist_x86.exe), PHP on Windows isn't 64 bit yet.
If you're running PHP 5.4.x then you need to install the VC++9 runtime:
http://www.microsoft.com/en-us/download/details.aspx?id=5582
When you run php-cgi.exe from the dos command line, you will get the missing MSVCR110.dll pop up message.
Like Ben said, Get the x86 download for the dll here: http://www.microsoft.com/en-us/download/details.aspx?id=30679
After much pain and suffering, turns out I needed to install the "Visual C++ Redistributable for Visual Studio 2012 Update 4 32-bit version", even on my 64-bit server.
If you are installing PHP 7.1.14 on windows server 2008 rc2 Enterprise, only thing worked for me is to install microsoft Visual C++ 2015 Redistributable Update 3 from https://www.microsoft.com/en-us/download/details.aspx?id=53587
You might be using C:/[your-php-directory]/php.exe in Handler mapping of IIS just change it C:/[your-php-directory]/php-cgi.exe.
I tried opening php-cgi.exe directly and it gave me a more clear error message.
As the answer of 'sepehr' this issues are because of VC++ Redistributable suitable version for PHP are not installed or need to be reinstalled again.
I faced it before so i'll explain my steps to fix it.
1- Each PHP version is built by a specific Visual C++ Redistributable version like (10, 11,12,14,..) what ever.
((How you know!! look.. ))
Check back enter link description here The PHP Site then at the left side of this page, look at "Which version do I choose?" then see what version of VC++ is fits your PHP version installed.
Now YOU HAVE TO Download both of VC++ 32 and 64. and if your PC has it already then Unistall them first. and then install what you downloaded recently bu
(first 32 then 64).
- VC download links are exists on the mentioned PHP Site on the left side also.
I hope it helps you.
if you have two application like (your app, phpmyadmin) just disable APC extension
Hope that fix that issue
it's worked with me
For user using PHP 5.6.x follow this link and install the x86 version.
I have installed the latest version of Visual C++ Redistributable from this link for php 8.0.0 x86:
and my problem was solved.
In my case the problem was coming through the application pool. Try to change your application pool ASP.NET v4.0.
In my case I had wrong constellation of configurations:
error reporting disabled
typo error in the configuration
After enabling the error_reporting it was clear the session_path was pointed to a wrong folder.
"Sad but true"
I was getting this same error installing PHP 7 on Windows Server 2008 R2. I resolved this by installing the Visual C++ Redistributable for Visual Studio 2015.
For Issue C:\PHP\php-cgi.exe - The FastCGI process exited unexpectedly.
I resolved this by installing the Visual C++ Redistributable for Visual Studio 2015.(Microsoft Visual C++ 2015 Redistributable Update 3) and Visual C++ Redistributable for Visual Studio 2012 Update 4 in 32 and 64bit versions. and also make sure in php.info file cgi.fix_pathinfo=0 enabled.
I got this error too after I changing PHP version in windows.
I have PHP Manager plug in of IIS installed, it show the PHP is not enabled, then I fix this issue after doing "Register new PHP version"
I struggled for hours with that problem, and no solution worked for me. May seems obvious or very foolish, but my error was in PHP 5.6 version. I was using PHP 5.6 from XAMPP, but if you download PHP on IIS with Web PI (Microsoft Web Platform Installer) it's more suitable for IIS instead XAMPP version.
More Info:
https://stackify.com/how-to-host-php-on-windows-with-iis/
Running php-cgi.exe from the command line gave a message like the vcrt dll is a lower version than what is linked in php.
Using Visual C++ redistributable package 64 bit 14.29 solved the above problem for me.
I am trying to install PHP 5 on a Windows Server 2003 environment with IIS 6
After installing PHP, and making the necessary changes in IIS, I get the following error
%1 is not a valid Win32 application.
The server is not 64bit, it is 32bit. I have added the FastCGI
handler in Web Service Extensions,
I have added the PHP handler in
Web Service Extensions, I have also gone to "Web Sites Properties"
and clicked on Configuration: and set the appropriate mappings,
I've installed the reditrubition files as required by Microsoft...
I cannot for the life of me work out why it is not working.
Can someone please help?!
Finally got my installation working by installing the correct corresponding versions and dependencies. I hope this helps.
On IIS 6
PHP 5.4
VC9 x86 or x64
WinCache 1.3 for PHP 5.4
On IIS 7
PHP 5.5
VC11 x86 or x64
WinCache 1.3 for PHP 5.5
Try running PHP directly from command line to see if you receive the same error. If it is, the issue may be that a dependency cannot be found. PHP has a dependency on the Visual C++ Redistributable - from http://windows.php.net/download/ :
The VC9 builds require you to have the Visual C++ Redistributable for Visual Studio 2008 SP1 x86 or x64 installed.
The VC11 builds require to have the Visual C++ Redistributable for Visual Studio 2012 x86 or x64 installed.
if this doesn't help, run the Microsoft utility Depends.exe from http://www.dependencywalker.com/ to find out what might be the issue.
in System Properties > Environment Variables click on new in variable name = path and variable value = C:\wamp\bin\php\php5.3.13; and click on ok > ok > ok
click on run type cmd
in cmd type php
if you get up error in cmd type cd c:\ and enter now type php
I have faced the same issue on standalone Apache+PHP setup on Windows 10. Definitely the problem was in two different PHPs in the environment variable PATH (IIS distro and standalone distro). Removing the PHP for IIS from the PATH resolved the problem.
Unfortunately PHP only goes as far as 5.4 on Windows 2003. They officially dropped support for Windows XP and 2003 starting PHP 5.5.0.
http://windows.php.net
Here you can find PHP for older Windows systems: PHP 5.5.7, 5.4.23, 5.3.28 (x86/x64) available
Following binaries are available:
php-5.5.7-nts-Win32-VC11-x86.zip
php-5.5.7-Win32-VC11-x86.zip
php-5.5.7-nts-Win32-VC11-x64.zip
php-5.5.7-Win32-VC11-x64.zip
php-5.4.23-nts-Win32-VC9-x86.zip
php-5.4.23-Win32-VC9-x86.zip
php-5.4.23-nts-Win32-VC9-x64.zip
php-5.4.23-Win32-VC9-x64.zip
php-5.3.28-nts-Win32-VC9-x86.zip
php-5.3.28-Win32-VC9-x86.zip
php-5.3.28-nts-Win32-VC9-x64.zip
php-5.3.28-Win32-VC9-x64.zip
For "FastCGI" on Windows Server 2003, you should choose php-5.4.23-nts-Win32-VC9-x86.zip.
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.