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

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

Related

Error code 0x80070002 when trying to install IIS on Windows 10 Pro 64

I am trying to install IIS on my Windows 10 machine, but keep getting this error:
Windows couldn't complete the requested changes.
The system could not find the file specified.
Error code 0x80070002
Any help would be greatly appreciated.
I think this error may be caused by the .net framework, you can try to run the following command:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -r
Or you can run one of the repair utilities supplied by Microsoft:
Microsoft .NET Framework Repair Tool
If you do not have the correct framework, you can download version at the following links:
Download .NET Framework
Once installed, try to install the IIS features again.

I'm trying to install composer and I get this error

The PHP exe file you specified did not run correctly:
C:\xampp\php\php.exe
The program failed to run correctly. Try reinstalling the program to fix this problem. Make sure you have installed the appropriate Visual C++ Redistributable. I have Visual C++ Redistributable installed. I have even modified the php.ini file but still I can't install composer.

How to install an older version of the "SQLite for Universal Windows Platform" SDK for Visual Studio 2015?

I specifically need version 3.9.2 (latest is 3.19.3).
In Visual Studio 2015, the Extensions and Updates tool doesn't give an option to select a version like in Nuget Packages.
The SQLite page only has instructions to download the souce code, the binary or the ADO.Net code, and if I'm not mistaken what I need is the .vsix file of the specific version to install the SDK.
Here.
sqlite-uap-3090200.vsix
Link of the older version of sqlite is removed from the download page, but you can download it if you know the name of .vsix.
Added - There are some rules about url and file names.
History:
https://www.sqlite.org/chronology.html
For example... To get the 3.17.0,
Check the release year from history page : you can find that 3.17 was released at 2017.
Filename : 3.17.0 ==> 3 17 00 00 ==> 3170000.vsix
uap or uwp ? : From ver 3.11, the prefix was changed to 'uwp'. 3.10.2 or prior was 'uap'.
You got it! ... http://www.sqlite.org/"2017"/sqlite-"uwp"-"3170000".vsix

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.

UwAmp : Apache HTTP server has stopped working

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.

Resources