Runing Wamp Server on windows 7 [duplicate] - php

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

Related

Showing Error opening of WAMP server

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.

WAMP server not working and giving some error related .dll file

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

PHP5.4 add extension error

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

PHP Install Failure With wampserver2

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.

Compiled php5.3.8 extension with VC++ 2008, works on the computer it was compiled on, but doesn't work if transferred to another system

I got compile php 5.3.8 extension DLL with VS++2008 on my laptop running wamp-server 2.2 .But when I copy the DLL to a work another computer it can't runing. Does the DLL only work on the computer you compile it on ? any idea ? thanks...
You can use Dependency Walker to check for missing dependencies.
My bets are on the Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) package:
The Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) installs runtime components of Visual C++ Libraries required to run applications developed with Visual C++ SP1 on a computer that does not have Visual C++ 2008 SP1 installed.

Categories