Error installing xampp on windows 7 - apache

For Screenshot
http://imgur.com/a/PRzun
I have problem, so before I got these error i have installed xampp v.5.6.30 / PHP 5.6.30 and i want to update to xampp v.7.0.18 / PHP 7.0.18 and i uninstall the old version and install the latest version.
Before I get the error I have error on api-ms-"...".dll but i finished to this error with download the .dll files and the error(1) is show up.
I try to fix this problem so I change the port, but not take effect.
This for screenshot port list/netstat.
http://imgur.com/a/RVfoD
I change the httpd.conf port 80 to 8080, and httpd-ssl.conf port 443 to 4433. But didn't take effect.
So what solution to install xamp on my windows 7? Thanks in advance.
Extra : I don't install skype on my windows

Try checking on your 32 system file located on the windows file (C) if you have msvcr100.dll
If it is missing go to a dll.com site and download it and insert it on your system 32 file.
Another dll that might be missing is the API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL
This video explain how to fix this if this is due to a crash like in your print.
https://www.youtube.com/watch?v=gmtV1Xew9o4
I hope it helps.
Wish you the best of luck.

Related

XAMPP Can't Start Apache After Upgrading to PHP7.1.17 "Attempting to start Apache service..."

I have XAMPP installed on Windows 7 virtual machine. My old PHP version was 7.0.9 with Apache 2.4
I needed to upgrade the PHP version to 7.1.x and I set out reading about how to best to this. In end, I settled with the simple plan:
Stop Apache service
Downloaded new PHP version from official php website. For PHP 7 the 7.1.17 version was listed. I downloaded the thread safe version, as my Apache has thread safety enabled.
I extracted the contents of the downloaded archive to a folder.
I copied and replaced all files in the appropriate folders from C:/Server/php with the new php version files from the extracted archive.
I attempted to start Apache from the XAMPP control panel and the server will not start.
The message "Attempting to start Apache service..." just hangs and nothing happens.
The last entry in the error.log file in C:\Server\apache\logs shows the event when the server was stopped and that's it.
When I check the php version from CLI with the command php -v, the console returns installed php version 7.1.17
I tried different suggestions I read from similar questions, like changing ServerName localhost:80 to ServerName localhost:8080 and copying php7apache2.dll to apache/bin ( as suggested here: Upgrading PHP in XAMPP for Windows? ), alas the issue is not fixed and Apache does not start.
Of course, I also restarted the virtual machine, all the same.
At this point, I'm dumbfounded. Don't know what to do.
I need to get Apache running with php 7.1, as it is required by Magento 2.2.4. I do not want to reinstall XAMPP, as this will be a lenghty process with a lot of risk for more things to go wrong.
Any help is much appreciated!
Alright, so after checking Windows Logs > Application in Event Viewer I saw the error ".. the Apache service named is not a valid win32 application". I downloaded the x86 version of PHP from official website PHP for Windows
Then copied and replaced files as described above, and Apache started successfully.
To see if your Apache version is x64 or x86 open command prompt and cd to your Apache bin directory, in my case C:/Server/apache/bin , then run:
file httpd

after XAMPP install on Mac Sierra - it works, but there is no XAMPP folder. Where is everything?

I have installed XAMPP. It works. I'm trying to figure out the following:
1/ it appears there are now TWO apache servers on my mac. XAMPP just installed an additional server. One is already installed on the default Sierra OS. Is that correct?
2/ I can't find where XAMPP is reading files (document root). in the newly created directory: XAMPP.APP, the file structure is not as indicated in the FAQ's. For example, there is no xamppfiles or logs directory in the XAMPP.app directory.
Many thanks in advance
I installed XAMPP-VM (VM - as in virtual machine). Therefore, in the XAMPP application, I needed to click on "Volumes" and select "Mount" . I can then see this mounted volume in the MAC finder under "Shared". From there, I can get to all the necessary files including "lampp/htdocs".
I haven't encountered a web server on the default installation of macOS.
Run XAMPP in the applications folder and then click on the 'Open Terminal' button. At the prompt, type cd /opt/lampp and this is the document root.

MAMP - Apache couldn't be started

I am running Yosemite 10.10.1 however had the same problem on Lion prior to upgrading (thought it would fix it!). Apologies if this has already been answered but I have searched hi and low and cannot find anything...
I have tried updating to the latest version of MAMP and renamed the envvars file, both have not fixed the problem.
When I start MAMP (not MAMP pro), it opens, when I click to start the servers I get "Apache couldn't be started. Please check your MAMP installation and configuration".
Please someone help this has been driving me crazy, any help would certainly be appreciated!
Had the similar problem-
Do the following
Rename the file “envvars” located in /Applications/MAMP/Library/bin into “_envvars”
In the file "/Applications/MAMP/conf/apache/httpd.conf" remove the line
LoadModule example_module modules/mod_example.so(86th line)(Use sublime Text/vim).
Use default port numbers 8888 for Apache and 8889 for Mysql.
Exactly the same problem I have. Going back to an older 3.0.x solves the problem. Just replace the htdocs and db folder with the ones before the update an it will run again.
Peter
I've had this problem when upgrading from 6.6 to 6.7. Seems that sometimes the Apache and MySQL servers keep on running during the upgrade and there is a problem binding to the port. What worked for me was this:
Completely quit MAMP.
Kill all Apache and MySQL processes using the pkill command:
pkill -f httpd && pkill -f mysql
Run MAMP again and set ports to 80/3306

red5 service doesn't start on windows

I installed Red5 5.0.1 on my 64-bit Windows 8 PC. I set IP address as 127.0.0.1 and Port no. as 5080. It is well installed. But when I go to the services and select start red5 it gives following error message:
Windows could not start the Red5 on the local computer. For more information review the System Event Log. If this is non-Microsoft service, contact the service vendor, and refer to service-specific error code 1.
I've JAVA_HOME set as C:\Program Files (x86)\Java\jdk1.6.0_38. I've 32-bit jdk installed. Red5 was running good earlier, but recently this error is bugging me. I uninstalled and re-installed Red5 again, but this didn't help.
Please help.
If you have a port clash with another program it can prevent red5 from running.
The page to which I linked above has been removed and my post was putted as a comment, here is what I saved from the wiki and solved my problems (Windows):
Install Java JDK
Install Red5
Try to start the red5 service, if you get error 1067 try the following:
in /conf/wrapper.conf add wrapper.java.command=[PATH to]\jre7\bin\java.exe
Try starting the service, if you still get an error check if this folder exists (if not, create it!):
C:\WINDOWS\SYSTEM32\CONFIG\SYSTEMPROFILE\APPDATA\LOCAL\TEMP\
Worked for me.

How to upgrade Apache on a Windows server?

I have just upgraded our webserver from PHP 5.3.6 to 5.3.10, and I now want to upgrade Apache as well from 2.2.17 to 2.2.22 (on a Windows Server). How do I go about this in a good way (on a live webserver)? A little downtime is alright, but not too much.
Apache is installed via an MSI installer and I'm not sure how to upgrade safely with the least downtime.
Do I just download the latest installer and install that? And what about my config files? I don't think it's possible to have both instances installed 'next to each other'? Or is it?
For anyone else who searches for this, I found that uninstalling the old Apache (in my case, 2.2.22) from Add/Remove Programs and installing the new version (in my case, 2.2.24) kept all the previous settings.
We had locked down the httpd.conf file and had an application that modified/added files in the "htdocs" directory.
Upon uninstalling and re-installing, all of these files were left unchanged and the new version of Apache Server is reflected.
Download a latest version of apache installer.
Make the necessary config changes.
Run it on a different port, other than your live server.
If things work well, correct the port number, and replace.
It will really take a little down-time.
I did it today on windows server 2012R2, apache was installed from "source" (installer was not used-updated to 2.4.55):
1.Stop apache service
2.Rename apache directory (from C:\Apache24 to C:\Apache24-old)
3.Extract Apache24 folder from zip archive downloaded from apache web site to original location (C:\)
4.Copy conf folder from previous installation to the extracted folder (Copy C:\Apache24-old\conf to C:\Apache24\conf-overwrite)
5.(Optional), if you have any certs copy it from C:\Apache24-old\ to C:\Apache24
6.Start apache service,no issues faced