how to install wamp server? - apache

Just installed Wampserver2.0 in my Win 7 and everything ran smoothly.
However, on our XP the system tray icon is in orange.
It says WAMP5 - Server online. But we are unable to Start any services.
If we Restart All Service the meter turns from red to yellow, and then red again.
This is the error message:
"Could not execute menu item (internal error) [Exception] Could not perform service action: The service has not been started."
Any Clues?

Please make sure you have the latest version of both of these Microsoft C++ Redistributable runtime libraries.
The 2008 Redist is used by wampmanager
The 2010 Redist is used by Apache
FOR WAMP 32bit
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) http://www.microsoft.com/en-gb/download/details.aspx?id=5582
Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) http://www.microsoft.com/en-gb/download/details.aspx?id=8328
FOR WAMP 64bit
Microsoft Visual C++ 2008 Redistributable Package (x64) http://www.microsoft.com/en-us/download/details.aspx?id=15336
Microsoft Visual C++ 2010 SP1 Redistributable Package (x64) http://www.microsoft.com/en-gb/download/details.aspx?id=13523

Related

Installing the newest version of Wamp server

I'm learning PHP and I'm a newbie in apache, mysql,etc.
I tried to install WAMPServer (The current newest version 2.5) but I get the error:
msvcr110.dll is missing.
I have followed some instructions given here: WAMP shows error 'MSVCR100.dll' is missing when install
However, none of the advice worked for me. I have already installed Visual C++ for windows 32 bits and Visual C++ Redistributable for Visual Studio 2012. After that I installed Visual C++ 2008, it didn't worked either.
And even after that I installed vcredist_x86.exe. This gave me an option to repair my Visual C++, and so I did.
In all my tries I restarted my computer.
I didn't install Visual c++ for windows 64 bits because my os is running a 32 version.
Any ideas?
Thanks for your attention,
berga007
Please make sure you have the latest version of all of these Microsoft C/C++ Redistributable runtime libraries. You dont need the whole compiler, just these C/C++ runtime libraries.
The 2008 Redist (32bit) is used by wampmanager even if you installed the 64bit WAMPServer.
The 2010 Redist is used by some versions of Apache ( depending on compiler used ).
The 2012 Redist is used by some versions of Apache ( depending on compiler used ).
FOR WAMP 32bit
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)
If you are using WampServer 2.4/2.5 32bit and therefore Apache 2.4.x
Microsoft Visual C++ 2012 is required And select vcredist_x86.exe
Due to the naming convention used by Microsoft dowmloading these libraries can get a little confusing so download them one at a time and install that download before downloading the next and installing that.
To check that you have all the required runtimes, launch 'Programs and Features' by
Start -> Control Panel -> Programs and Feature
For a 32bit system it should look something like this, ignore the fact that mine has what look like multiple versions of the same library, its just because when you download a newer version it does not remove the older revisions :-
32bit System example
UPDATE FOR 2018 (WAMPSERVER 3.x)
You need the following Visual Studio Redistributables:
2008
2010
2012
2013
2017
Get both the x86 and x64 versions if you're on a x64 machine.
Also, make sure you set skype to NOT use port 80, otherwise WAMP won't start when Skype is open.

msbuild Error MSB3411 Could not load the Visual C++ component "VCBuild.exe"

The Error is:
*C:_sourceCode\Project1\trunk\test\test.sln.cache(55,5): error MSB3411: Could not load the Visual C++ component "VCBuild.exe". If the component is not installed, either 1) install the Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5, or 2) install Microsoft Visual Studio 2008. *
But I have the Microsoft Windows SDK and .Net Framework 3.5 and also Microsoft Visual Studio 2008.

How to install WAMP Apache Service on Windows 8.1

I'm trying to run WAMP 64 bits on Windows 8.1 but it's not working ; When I launch it, the icon is orange and localhost isn't find.
I've completly uninstalled Skype, tried to modify httpd.conf, hosts file like said on topics, but nothing to do.
I tried this (httpd.exe -k install) but it throws me an error : the application was unable to start correctly [...].
The other command works partially (doesn't throw an error).
I've downloaded and installed C++ Redistribuable but it doesn't affect WAMP apparently.
Any idea ?
EDIT : here are my MSVC runtimes installed :
2008 - x64 9.0.21022
2008 - x64 9.0.30729.6161
2008 - x86 9.0.30729
2008 - x86 9.0.30729.6161
2010 - x64 10.0.40219
2010 - x86 10.0.30319
2012 - x64 11.0.61030
2012 - x86 11.0.61030
EDIT2 : see here, the wampapache service is not shown (maybe not installed ?!)
First make sure you have all the correct MSVC runtimes installed
Please make sure you have the latest version of all of these Microsoft C++ Redistributable runtime libraries.
The 2008 Redist is used by wampmanager
The 2010 Redist is used by some versions of Apache/MySQL/PHP ( depending on compiler used )
The 2012 Redist is used by some versions of Apache/MySQL/PHP ( depending on compiler used )
FOR WAMP 32bit
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)
If you are using WampServer 2.4 or greater
Microsoft Visual C++ 2012 And select vcredist_x86.exe
Microsoft Visual C++ 2015 Redistributable Update 3 And select vc_redist.x86.exe
FOR WAMP 64bit
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
Yes you need the x86 Package regardless
Microsoft Visual C++ 2008 Redistributable Package (x64)
Microsoft Visual C++ 2010 SP1 Redistributable Package (x64)
If you are using WampServer 2.4 or greater
Microsoft Visual C++ 2012 And select vcredist_x64.exe
Microsoft Visual C++ 2015 Redistributable Update 3 And select vcredist_x64.exe and vc_redist.x86.exe
Next
Ensure you have a correctly configured hosts file
C:\windows\system32\drivers\etc\hosts should contain
127.0.0.1 localhost
::1 localhost
EDIT1
If you dont think the Apache and MySQL services are installed
Check if you can see these 2 services wampapache and wampmysql if they are in your services lists they were installed.
If you want to reinstall them, just to be sure, do this:
left click wampmanager -> Apache -> Service -> Remove Service
left click wampmanager -> Apache -> Service -> Install Service
left click wampmanager -> MySQL -> Service -> Remove Service
left click wampmanager -> MySQL -> Service -> Install Service
If Apache still failes to start, view your Event Log, in the Applications section there may be messages from Apache and/ot MySQL. Apache will write errors here if they happen before it can open its error log, ditto for MySQL.
Had similar problem. For some reason they do not make sure that you have the latest vc++ redistributable in the installation
My missing part was:
Visual C++ Redistributable for Visual Studio 2015:
https://www.microsoft.com/en-us/download/details.aspx?id=48145
Select 64 bit when you download.
Fix all your problems regarding wamp server and port number by installing latest version of wamp server i.e, wampserver3 from here -
http://netix.dl.sourceforge.net/project/wampserver/WampServer%203/WampServer%203.0.0/wampserver3_x64_apache2.4.17_mysql5.7.9_php5.6.16_php7.0.0.exe
and then go to wamp->apache->use port other than 80 and select this.
Now, your wamp server is configured to work successfully !!

Detect VC++ Redistributable ATL SP1 (Before Setup begins)

My project depends upon "Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update", I want to put a check at the beginning of the setup to display a condition error if the package is not installed..
I checked this question: How to detect VC++ 2008 redistributable?? I cannot find the registry entry provided for visual C++ 2005 SP1 ATL Security Update runtime files (After installing the redistributable manually)..
What am I doing wrong here? And is there a better to detect the redistributable package?
Thanks,
For anyone else looking for the same answer:
Installed OR (HASVCPP200564)
There are different registry guids for 32/64 bit, the above is 64 bit.
Cheers,

How to updates/install mfc71u.dll, msvcp71.dll, msvcr71.dll in visual studio 2005

I have an application which can require some of .dlls i.e mfc71u.dll, msvcp71.dll, msvcr71.dll while running.
Is there any Microsoft updates are there which can update visual studio 2005 so that I can install and my system can get that .dlls.
Thanks,
Kamal.
The application has been created using Visual Studio 2003. You can install Visual C++ .NET Runtime.