问题
I am on a Windows 7, 64 bits. I have installed WampServer 3.0.6 x64 (last version). I have installed the Visual C++ 2012 Update 4 x64 (last version too). Everything went successfully !
But i still have the same error when I try to run WampServer :
php-win.exe - Application Error
The application was unable to start correctly (0xc00007b). Click OK to close the application.
I tried everything, still gets this same error.
回答1:
@RiggsFolly answered my question. I had to install all the Microsoft Visual C++ runtime librairies. His link helps very much : http://forum.wampserver.com/read.php?2,138295.
回答2:
The application was unable to start correctly (0xc00007b). Click OK to close the application.
If you have the above error, then try one of solutions below
- Install Microsoft Visual C++ run time libraries
https://www.microsoft.com/en-us/download/details.aspx?id=52685
- Check if Port 80 is free, if not the change the Listener in httpd.conf file to some other port
How to Open httpd.conf - Click on WAMP in tray- Click Apache - Click http.conf a file will be opened in notepad/notepad++
Listen 0.0.0.0:80 - Change 80 to 8080 or anything other port
Listen [::0]:80
Server Name localhost:80 - Change to 8080
You can also check in Task Manager if Port 80 is really being used by following below steps
Go to Task Manager - View Menu - Columns- Check Mark (PID)
Go to Process Tab - Show all process and sort by PID and you can see if port 80 is really being used.
- Before starting installation of WAMP, disable IIS and quit Skype and other unwanted applications.
The above solutions should solve the problem
回答3:
Reason! Why this error encountered?
- Windows not updated.
- Microsoft Visual C++ Redistributable package not installed.
- Microsoft Visual C++ Redistributable package does not compatible with your software.
How to Solve:
- Update Windows.
- Install Microsoft Visual C++ Redistributable package if not.
- Install Microsoft Visual C++ Redistributable package compatible with your software. After installing Windows updates and Downloading Microsoft Visual C++ Redistributable package, the error will be removed.
来源:https://stackoverflow.com/questions/39513898/php-win-exe-the-application-was-unable-to-start-correctly-0xc00007b