MAMP error: couldn't be started - apache

I've installed MAMP (windows) and I can't start it. When I first opened it, i got the usual error of port 80 already used. But after i changed it to another port, 8888, i got a diferent error:
Could not wait for starting of Apache child. Apache parent process id is: 6208
I'm always getting this error, even though i've reinstalled MAMP and tried diferent ports as well, like 2222, and I keep getting the error. Besides, the process id in the error is always diferent every time i try to start MAMP.
Any suggestions?

First of all, "MAMP for Windows" IS for Windows! I do prefer it to a WAMP due to simplicity.
After getting a "Could not wait for starting of Apache child. Apache parent process id is"
I have disabled a Windows firewall.
Then, I have uninstalled the .NET, C++, and then the MAMP.
Then, I have installed the MAMP again, with all the .Net and C++ files that come with it.
Then, enabled the firewall back.
It now works.

First of all MAMP is not for windows it stands for Mac Apache Mysql Php so you need to install WAMP(Windows Apache Mysql Php) than if you have installed Wamp, change the port to 80 again. the error(port 80 already in use) comes from one of the following problems:
Skype: Make sure that you have stopped skype or unistall it.
SQL Server Reporting System: if you have installed sql server so please stop the process of SQL server reporting system.
After this tips restart your server and the problem is solved. If still the problem is not solved comment back.

Related

Localhost refused to connect - Bitnami does not display any server

I have created a Wordpress website locally using the Bitnami installer. Everything was going well and I have managed to finish designing the website until something happened.
I'm not sure if it is in any way related to the issue but my computer automatically installed a Windows update, since then I cannot access the website that I created locally. It says that,
This site can’t be reached
localhost refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
Again, I'm not sure if this has anything to do with the update, because I have already uninstalled the updated and it's still the same. What's also weird is that my Bitnami managers servers aren't running any servers, and actually there are no servers under it at all.
I am confused and lost as to how this happened and what's the solution for this. I would appreciate any help or pointed anyone can give me. Please see attached Photos.
This is the initial message when I try to access the website
Clicking on the go to application and open my phpadmin doesn't do or open anything
There are no servers
There are no events
Bitnami Engineer here,
If the Bitnami manager doesn't show the services is because they are not installed in the server or they got renamed during the upgrade process. Let's try to reinstall the services again.
First of all, you will need open your installation directory and double-click on the use_wordpress.bat file. That will open the command prompt in Windows
Run the remove command
serviceinstall.bat REMOVE
If the console is closed, open it again and run the install command
serviceinstall.bat INSTALL
Check if the services are now up and running in the Bitnami Manager tool

MAMP PRO Apache server won't start

After I tried to use Dynamic DNS the Apache server has stopped running. I updated MAMP PRO to the latest version, reset all Templates, check for another http process, but nothing helped. There are no errors in the logs. I made a video of the bug: https://vimeo.com/255845597

Wamp Server Working But Still Orange

No, this is not a duplicate question!
Wamp Server doesn't start on system boot up.
When I turn it on, it is in Orange but it works just fine and Test Port 80 says that it is used by Server: Apache and PHP.
I have to Ctrl+Alt+Del < Task Manager < (2) Apache Httpd Servers
Then end both tasks.
Then Restart All Services and Wamp will be green!
My questions are
1. if it works then why is it in orange?
2. can I make it start on system start?
Note: MySQL Server is working properly at all time.
I don't have Skype installed and I don't think the problem is with the ports...
I have already tried uninstalling then re-installing but that didn't fix the problem.
EDIT:
According to the solution #RiggsFolly suggested, I can see that Apache is not starting properly; however, weirdly the web app can be run normally...
you can also change the port as well. yes you can start wamp service on system start by setting in start up program MSConfig can be used to configure several things other than just startup programs.

wamp server 2.4 x64 not working on my windows 8 x64

I have a windows 8 x64.
I installed apache 2.4 x64 and the installation was smooth and the service is up and running and also the icon is also green.
the problem is that it stops working in the middle of nowhere although the icon is still showing up green and the status saying online.
I have to refresh the localhost page over and over again to get it working again.
I added some line in c:\windows\system32\driver\etc\hosts file
127.0.0.1 localhost
I also modified the C:\wamp\bin\apache\Apache2.4.4\conf\httpd.conf file.
here is the line which I added.
Listen 0.0.0.0:80
I even removed my Skype since I heard that it conflicts with apache
when I test my http 80 port using the apache tool. sometimes it get me no result. it only shows me
Your port 80 is actually used by :
it doesn't give me the rest of the information but sometimes it shows me that my apache 2.4 is running
I removed IIS server which comes together with windows 8.
I also tried installing apache again but the problem is still there.
Any help from you guys would be much more appreciated.
Thanks.

Apache Server can't turn off (EnterpriseDB Installation with Stack Builder)

I know it seems to be an odd question.
I have downloaded and installed PostgreSQL 9.3 from its main website, then I used Application Stack Builder to install ODBC, JDBC, Apache/PHP v2.2.22, phpPgAdmin v5.1.
Now the problem for me is I am used to use programs like MAMP (where you can exit the program and kill the server at the same time), or in an IDE (like MyEclipse's included Tomcat or Jetty), or in a framework like Play's built-in JBoss Netty server. Those servers, since they are connected to an IDE, or program, or framework, they can be easily turned off; and I am used to turn off a server when I am not using it.
I find out I can't turn off this apache server installed by Application Stack Builder. I tried terminal commands. It does not work. Whenever I type in localhost:8080, the welcome page will just pop out.
Do I need to turn it off? How do I do so? Also, can I turn of PostgreSQL database server as well? (Like in MAMP, you always have the option to turn Apache and MySQL server off)
Added: I'm using Mac OS X.
To restart EnterpriseDB Apache, I did
sudo /Library/PostgreSQL/EnterpriseDB-ApachePHP/apache/bin/apachectl graceful
Explanation:
On my machine this exact problem was because the apachectl was still default Mac OS X. This can be verified by doing
which apachectl
To which I got the response:
/usr/sbin/apachectl
This is the default apache in Mac OS X, not the Enterprise DB one. I did not want to mess with system paths so I left this one alone. You can also create aliases to if you bounce apache often.
This is what I did?
I just unsinstalled EnterpriseDB-ApachePHP and any other PostgreSQL you might have on your Mac.
Reboot your Mac and try it again.
Once you have setup Jenkins and everything is running great, you can install EnterpriseDB again if you need. Patrick K.02/8/2017