• Register
0 votes

Problem :

I want to view my php files locally on my mac.

I am trying to run Yosemite on my mac.

I have the MAMP installed on my mac. When I press start my MySQL server starts as usual but my Apache doesn't start at all. An error message is shown as below :

 'Error. Apache couldn't be started. Please check your MAMP installation'

I have tried changing 'envvars' to '_envvars' but nothing really works for me.

I also tried reinstalling the OSX and that worked but until I shut down my mac the problem reoccurs.

Can anyone help with the solution on above error?

6 5 3
7,540 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

If you are trying to start your server from the terminal then it is likely that it will tell you what is wrong with it e.g.

$ sudo /Applications/MAMP/bin/startApache.sh


‘Error :(49)Address already in use: make_sock: could not bind to address [::]:8888 (49)Address already in use: make_sock: could not bind to address no listening sockets available, shutting down Unable to open logs’

In the above explained case, I was trying to run the Blockstack browser out of 8888, so just changing the MAMP to 8887 allowed it to start.

Hope this will help you in resolving your issue.

9 7 4
38,600 points

Related questions

0 votes
1 answer 1.2K views
Problem : When attempting to start the servers, Apache fails to start, and MAMP claims that my port ([::]:8888) is already in the use. I have tried virtually every way I know of determining what the process is using that port (as well as many of other solutions ... what(if anything) is really using my port, or somehow convince the MAMP that my port is not actually in use. Any suggestions on this?
asked Jan 17, 2020 jwilliam 3.9k points
0 votes
1 answer 476 views
Problem : My code works perfectly on my friend's laptop But throws below error on my laptop. “Error: a jni error has occurred, please check your installation and try again” I have tried running the code on a Eclipse Juno using Java 7. I have also tested it and ... my final year project and I need it to work on my laptop at any case, I will be very grateful to anyone who solves it.
asked Jan 18, 2020 jwilliam 3.9k points
0 votes
1 answer 176 views
Problem : I have my Spark app which runs without any problem in the local mode, but have some problems when trying to submit to my Spark cluster. The error message is as below: 20/01/05 15:42:06 WARN scheduler.TaskSetManager: Lost task 2.0 in stage 0.0 (TID 2, ... but I have already provided the "--master" parameter to my spark-submit. Anybody who can fix above problem? My Spark version : 1.6.1
asked Jan 6, 2020 alecxe 7.5k points
0 votes
1 answer 52 views
Problem: I am getting this error everytime I open my server. I need someone to help me how to remove this error?
asked Nov 14, 2020 prog_learner 2.5k points
0 votes
1 answer 61 views
Problem: Hi, kodlogs. I am facing a problem with PHP mbstring extension. I have installed PHP but i am getting this error “The mbstring extension is missing please check your php configuration.” Can anyone explain me the mbstring and how to enable it?
asked Nov 6, 2020 prog_learner 2.5k points
1 vote
1 answer 163 views
Problem : Currently I am using Hadoop 2.7.1 and apache-hive-1.2.1 versions installed on my ubuntu 14.0. 1. Why below error is occurring ? 2. Do I need to do metastore installation ? 3. When we are typing the hive command on terminal how the ... Still the above error persist #HIVE home directory configuration export HIVE_HOME=/usr/local/hive/apache-hive-1.2.1-bin export PATH="$PATH:$HIVE_HOME/bin"
asked Dec 12, 2019 alecxe 7.5k points
0 votes
1 answer 175 views
Problem : I am having trouble with my website. It has been slowed down a little in last couple of days. I have carefully looked into my error log & found a lots of following logs: [Sat Nov 30 00:09:53 2019] [error] [client] Request ... core.c(3126): [client] redirected from r->uri = /images/2019/02/600x376_0.076827001313237200_pixnaz_ir_1.jpg How to solve this issue?
asked Nov 30, 2019 alecxe 7.5k points
0 votes
2 answers 1.3K views
Problem : I am facing below listed very strange error. I am using Apache Server. “413. that’s an error. your client issued a request that was too large. that’s all we know.” How can I fix this error?
asked Feb 15, 2020 mphil 2.3k points
0 votes
1 answer 486 views
Problem : I want to install the Xampp win32-1.8.2 on Windows 8.1. But I get below message saying " Because an activated user account User Account on your system some functions of XAMPP are possibly restricted." I have already tried to change my user account control settings but ... . And my APACHE does not start. I have also disabled the IIS but still, it is not at all working. What can I do?
asked Feb 4, 2020 jwilliam 3.9k points
0 votes
1 answer 57 views
Problem : I am trying to retrieve the phone number from my Firebase database, but no matter how I enter it into my database it returns an error on my device as follows: "Message sent to invalid destination. Please check your number and try again. Msg 2127" The ... { // UIApplication.shared.openURL(url as URL) UIApplication.shared.open(urlph as URL, options: [:], completionHandler: nil) } } }
asked Dec 9, 2019 alecxe 7.5k points