Installing and Re-installing XAMPP - xampp

I have recently installed XAMPP on my computer it was working fine but my friend accidentally deleted the XAMPP folder.So when I reinstallled it isn't working,ports for Apache and MySql are showing that they are busy.
What should I do ?

If you are running Skype, then you can easily change its ports. Go to Tools -> Advanced -> Connections and uncheck the Use Port 80 and 443 option and close Skype. Now again try to start Apache. You should be able to do it.

Have a look there "How to get open ports" it explains how to see what ports are open and which programs opened them.

Start running mysqld.exe file which will be seen in the bin folder inside your MySQL installation.

Related

Are Apache and MySQL servers needed in addition to MAMP?

This might be a silly question, but I'm new to web-dev, so here it is:
I recently installed MAMP on my windows system [yes, MAMP works on windows too] and it shows Apache and MySQL server to be active, but neither I have installed any of these servers, nor I can find them in "Services" of my system.
So I wanted to ask whether I'll need to explicitly install both of these servers or not.
Also, If there's no need of explicit installation, how does MAMP work ? like, giving access to both these servers without actually installing them ? [A brief explanation would be enough]
T.I.A.
They come with MAMP. You can access phpMyAdmin under the Tools menu in the page that automatically opens up when you start MAMP, for me it is http://localhost/MAMP/?language=English

Getting started with xampp

so I've just downloaded xampp on my laptop (Windows 10). When trying to start it there seems to be a few problems which I'm not too sure how to fix being unfamiliar with xampp. Please let me know what I need to do, thanks.
Note: See pic attachedXAMPP
I had a similar problem and I solved it by changing the port that Skype was using, it happened to be the same as XAMPP was trying to use.
You can see the discussion with the solution that helped me in the link below
Open Skype.
Tools -> Options -> Advanced -> Connection.
Disable the "Use port 80 and 443 for alternatives for incoming connections"
Sign Out and Close all Skype windows. Try restarting your Apache.
XAMPP MySQL password setting (Can not enter in PHPMYADMIN)

Can't download ebooks after downloading xampp

For some reason I can't download ebooks anymore ever since I downloaded xampp. I guess there is something wrong with the directory.
This error continues to occur:
"Forbidden
You don't have permission to access /i/etNY9wf on this server."
Not sure why this issue is occurring. Need help resolving the issue so I can download again.
since you don't describe in your question how you are downloading the ebooks, I am guessing that you are using a P2P program or any other program for downloading. Some Software use port 80 and XAMPP is using port 80 too. It might be a port conflict.
Some troubleshooting:
Option 1
Stop XAMPP Apache Service (From XAMPP Control Panel) and try to download some eBook.
Option 2
Uninstall XAMPP and try to download some eBook
I am pretty sure that the issue is with the port conflict. Can you please provide more information about how you download those eBooks?

Cannot restart Apache on XAMPP on MAC

I recently fixed a problem on my VirtualHosts on xampp, and I must restart Apache. I noticed when I stopped it through my control panel, localhost was still loading. I attempted to start it again through the control panel, and get this error:
XAMPP's Apache can not start while another webserver is using port 80. Please turn it off and try again.
So, I tried to stop any other Apache processes that could have been running using
sudo apachectl stop
through Terminal; it returned this error:
launchctl: Error unloading: org.apache.httpd
I also used
sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist
which returned the same error.
which I'm pretty sure is supposed to mean that Apache is already stopped. I decided to quit XAMPP and reopen it, with Apache turned off (red dot next to it). When I reopened it, Apache was already back on automatically (green dot next to it), basically it turned itself on. How can I fix this? Thank you.
Ok, so I'm only a designer with occasional dev skills, but I do know how to fix the port issue.
In your apache config file (xamppfiles/etc/httpd.conf) change the port...
Here is the text to look for...
Listen 12.34.56.78:80
Listen 80
change the 80 in both listen strings to something else 91 is much less popular than 80 for system services and other apps wanting to do something through a port (of some sort)(ha ha)

xampp not working on windows 7 - Windows 7 Forums

My xampp installation 1.7.4 in windows 7 does not seem to work. http://localhost returns not found error.
Xampp Control panel shows both mysql & apache service running fine.
Frustrated since past 2 weeks to find a solution to this. Any pointers and support will be appreciated!
Do you have Skype or something similar running on your computer? Skype uses the default http and https ports 80 and 443 unless you explicitly change that in its settings.
As I saw this is common "problem" for Windows 7 and Vista - in some cases these systems doesn't know 'localhost'. Try use http://127.0.0.1 or add one line to file C:\Windows\System32\drivers\etc\hosts
This line is:
127.0.0.1 localhost
Did you check firewall ? Or if you have broken windows firewall (which is sometimes it's not available to stop or even open firewall in windows 7), it may be the reason.
by default this link should work: ServerName http://localhost:80
at least it's in the http.conf this way. Check out if you have it the right way set (or to another port like 8080)
Quit Skype, start xampp again, restart apache, run skype again. Now you can have both your apache server and Skype running fine :)
In win7, you have a IIS running on port number 80 which is also default port for Apache server
Follow the Steps
1. Open httpd.conf in the conf folder of apache folder
2. Find Line "Listen 80" and change it to any other port say 8800
3. see if the file exists httpd.conf.build, if yes change in that too
4. restart the server and you are done
Do check all the app that uses internet and see what all app you have
installed uses port 80, in case the above steps don't work.
Localhost uses the default port 80. If you have changed it to 8080 in httpd.conf. Then you can also check it by using http://localhost:8080
A long time ago I had a similar problem and I described it here on my blog (NOTE: working Skype can be a issue but I had not installed Skype then):
http://paweln66.wordpress.com/2013/08/11/why-xampp-and-wampserver-doesnt-works-under-windows-7/
There you can find:
Explanation of possible reason why it does not work: issue relates generally to Windows 7
Two approach to solution how you can enable XAMPP "quick" and more advanced that not disable another services
Please read this post then everything should be clear!
I hope it help you...
What if you use EasyPhp instead? i'm using it at work with windows 7, no problems, now xdebug works out of the box too

Resources