UwAmp : Apache HTTP server has stopped working - uwamp

I have a problem at start of UwAmp ; I get the message:
Apache HTTP server has stopped working
So impossible to start Apache
A solution?
Thanks
I am running Windows 8.1 Pro

Install the "Visual C++ Redistributable x86 lib"
For PHP older version you need VC6 2005
For PHP 5.3 you need VC9 2008
For PHP 5.4+ you need VC11 2012
For PHP 7.x+ you need VC14 2015
Download links are on UwAmp download page in section Prerequisites.

I tried to directly start Apache by launching the executable [UWAMP]\bin\apache\bin\httpd.exe. An error message said me that the program didn't find the file "MSVCR110.dll".
I downloaded the file in http://www.telecharger-dll.fr/dll-msvcr110.dll.html and put it in the directory [UWAMP]\bin\apache\bin\.
Finally, I restarted UWAMp and Apache started.

Related

Installing dot net 1.x on Windows 2012

I'm trying unsuccessfully to install the "Windows Hosting Bundle" used by a legacy web application with dot net core 1.0.x on one of our server running Microsoft Windows 2012 R2 Standard.
I am using the installer found at this link here:
https://dotnet.microsoft.com/en-us/download/dotnet/1.0
The installer completes without any errors and I noticed that the bundle goes into the local folder:
C:\Program Files\dotnet\shared\Microsoft.NETCore.App
When I run the command "dotnet --list-runtimes" from the prompt, I don't see the runtime listed in the output (and the web application hosted on IIS fail to start).
I am assuming it is not "registered" correctly or?
Thank you all

httpd.exe - Application error while starting apache in xampp server in window 8.1

I got
httpd.exe - system error, The program can't start because
api-ms-win-crt-runtime-l1-1-0.dll is missing while starting Apache
server.
I'm using windows 8.1 machine.
To solve that problem i copy .dll files in window32 directory and when i restart the xampp, got new error.
httpd.exe - Application error The application was unable to start
correctly (0xc000007b). Click OK to close application
Port 80 is not actually being used. I have already reinstalled it many times but same error occurs.
I'm trying to install latest xampp version (7.1.1)
The api-ms-win-crt-runtime-l1-1-0.dll is part of the Visual C++ 2015 Redistrutable package.
You copied a wrong DLL (wrong CPU archtecture), which generates the error
0xc000007b - STATUS_INVALID_IMAGE_FORMAT - {Bad Image} %hs is either
not designed to run on Windows or it contains an error. Try
installing the program again using the original installation media or
contact your system administrator or the software vendor for support.
Delete the wrong DLL again, download and install the Microsoft Visual C++ 2015 Redistributable Update 3.
Run the program with compatibility for Windows Vista service pack 2

Installation : Microsoft Visual C++ Redistributable stuck at 'Processing: Windows7_MSU_X64'

I'm trying to install the package of Microsoft Visual C++ Redistributable as my xampp apache module cannot be installed. The installation take a very long time to complete. What should I do? Is this common and is all I have to do is wait?
They are dead stuck with this setup progress as the indication
Processing: Windows7_MSU_X64
To install the Visual C++ 2015 Redistributable, you do not need to remove or uninstall the previous versions.
Refer to the error message, you can have a look at the installation log file and search ‘error’, if you can find the error message about Windows6.1-KB2999226-x64.msu, check this similar issue and have a try with the following to troubleshot this issue:
Download the update KB2999226 for your OS edition from here: Update for Universal C Runtime in Windows and before it, since your OS is windows 7, make sure SP1 is installed.
Manually install the KB2999226 as below:
Find the Windows6.1-KB2999226-x64.msu from the folder C:\ProgramData\Package Cache\xxxxx\packages\Patch\x64, which you can the path from the installation log
Create a folder named ‘XXXX’ in that and execute following commands from Admin command prompt
wusa.exe Windows6.1-KB2999226-x64.msu /extract:XXXX
DISM.exe /Online /Add-Package /PackagePath:XXXX\Windows6.1-KB2999226-x64.cab
vc_redist.x64.exe /repair
If you have no idea about the installation log, you can go to %temp% and order by ‘Date modified’, then you should find the installation log, or you can use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder then upload the file to https://onedrive.live.com/ and share the link here.
I first tried a clean boot and that didn't work so I opened up the task manager to see what other processes I might kill while it was stuck at "Processing: Windows7_MSU_X64" I killed the process titled "windows update standalone installer" and the install completed successfully the moment I killed that process.
Okay, I found the solution for my stucked installation. I updated my Windows manually using wsusoffline tools as my Windows can't seem to update with the usual ways.
Install wsusoffline and select all update for Windows (Windows 7 for me). Make sure to choose the folder to save your update.
Wait for the update to be downloaded
Install the update
Install the MV C++ Redistributable again
Done!
I finally can install my Xampp Apache module and access to the localhost.

Uwamp - Php 5++ run well but stop and not working after change to Php 7

Uwamp Version: 3.1.0
Installation : USB Drive
I just download Uwamp 3.1.0 today and everything run well but apache will stop if I switch to php 7. It happen only if I switch to php 7, and when I switch it back to php 5, apache work fine..
The error I get from Uwamp:
httpd.exe: Syntax error on line 166 of G:/uwamp/bin/apache/conf/httpd.conf: Cannot load G:/uwamp/bin/php/php-7.0.3/php7apache2_4.dll into server: The specified module could not be found.
In httpd.config line 166
LoadModule php7_module "G:/uwamp/bin/php/php-7.1.0-Win32-VC14-x86/php7apache2_4.dll"
I found the httpd error asked by someone in this forum but got no answer and the different is the version of Uwamp and Php.
Thank you.
ManuDevil, thank you for the answer..
Yup Visual C++ Redistributable 2015 is needed to run php 7.
Before use UwAmp you must install Visual C++ Redistributable x86 version vc_redist.x86.exe. This is a PHP requirement.
For PHP older version you need : Visual C++ Redistributable 2005
For PHP 5.3 you need : Visual C++ Redistributable 2008
For PHP 5.4+ you need : Visual C++ Redistributable 2012
For PHP 7.x+ you need : Visual C++ Redistributable 2015
As written on http://www.uwamp.com/fr/?page=download :
For PHP 7.x+ you need : Download VC14 2015 vc_redist.x86.exe
You can install multiple versions of Redistributable for Visual Studio and you can install both version x86 and x64. UwAmp use x86 version to keep compatibility with older PHP version.

httpd.exe: Syntax error, PHP 5.2.17 in uWamp server

I wanted to update a old project i've made. Its written in PHP version:5.2.17. When I downloaded the correct version for uWamp I recieve this error
httpd.exe: Syntax error on line 166 of C:/UwAmp/bin/apache/conf/httpd.conf: LoadModule takes two arguments, a module name and the name of a shared object file to load it from.
Can somebody help me with this error?
Make sure you have the right Visual C++ Redistributable x86, like they tell on the download page.
Same error but with a recent php version, corrected with installation of the right file.
Before use UwAmp you must install Visual C++ Redistributable x86 version vc_redist.x86.exe. This is a PHP requirement.
For PHP older version you need : Download VC6 2005 vc_redist.x86.exe
For PHP 5.3 you need : Download VC9 2008 vc_redist.x86.exe
For PHP 5.4+ you need : Download VC11 2012 vc_redist.x86.exe
For PHP 7.x+ you need : Download VC14 2015 vc_redist.x86.exe

Resources