I have MAMP Pro running successfully using a couple different versions of PHP. However, when I tried to set up a host with PHP v5.5.38 suddenly Apache wouldn't start and displayed the error...
Starting Apache failed
Apache couldn't be started. Please check the log file for more information.
There is no information produced in the apache log file and the issue is resolved if I switch back to using one of the PHP versions I already know works. I tried deleting that version of PHP in Applications/MAMP/bin/php/php5.5.38/ and then reinstalled it, but I'm still getting the same issue.
I'm running macOS Sierra v10.12.5 and MAMP Pro 4.1.1.
I had the same issue after re-installing MAMP PRO. In addition, all my hostnames turned red. Figured out that they had all lost connection to their SSL Certs. Once I re-created all of the certs (you could relink to existing certs as well), and the hostnames were no longer red, Apache launched just fine.
Solved: The same solution than #Taz (A bit tedious, frankly...)
Uninstall MAMP PRO (Menu MAMP PRO > Uninstall MAMP PRO)
Erase all old MAMP directories in Applications
Install a fresh MAMP PRO copy
In the old Mac, make a backup of MAM (select localhost host, menu File > Backup. tick Virtual Hosts and MySQL Databases.
In the new Mac, import the backup
NOTE: it could take time to backup, transfer and restore. You have to be patient...
RESTORE THE HOSTS TABLE
Copy /Volumes/your_user_name/Library/Application Support/appsolute/MAMP PRO/settings5.plist to the new mac
Related
Short backstory: Recently I've installed MAMP as I want to start learning PHP. I got version 4.1.1 from the MAMP homepage, Apache didn't start. This seems to be a common bug for that version, I found a solution in downloading version 4.1.0. Both servers started but the Open WebStart Page didn't work.
My Problem: I wanted to try reinstalling it, I deleted the MAMP folder, as I thought that would be sufficient, instead of deleting it in the system settings. Now when I download it again and start the installer it says
MAMP setup has detected existing MAMP installation. You need to remove existing installation before proceeding. Do you want to uninstall it now?
Clicking either yes or no gives me
MAMP setup will now exit and the existing MAMP installation will not be removed.
In the system settings I find
MAMP & MAMP PRO 4.1.0 version 4.1.0 (1.47 GB)
When trying to uninstall it it gives me this error
Windows cannot find 'C:\MAMP\unins000.exe'. Make sure you typed the name correctly, and then try again.
Is there any way, other than reinstalling my whole OS, to solve this problem or do I have to turn to a different web server app?
I just encountered this problem and I hope my solution works for you as well:
Just download the .exe file into another device and install the MAMP.
After a successful installation, just copy the folder to your original device that has the problem.
And then you should find a file with a name starting with "uni" meaning it is for uninstallation. Just run that file and then everything should be fine!
I had the same problem (on OS is windows 10).
I browse the web and found a way:
You can download the ccleaner and use it, it can delete the MAMP.
I'm currently using PHP 5.3.29 for my application and I can't currently upgrade it. I'm working on getting access to phpMyAdmin. I'm running MAMP PRO 4.2.1 which has phpMyAdmin version 4.7.3 which only allows PHP versions 5.5+ to access. I was thinking similar logic to http://blog-en.mamp.info/2013/08/how-to-upgrade-phpmyadmin-in-mamp-mamp.html would apply for how to downgrade the version. I downloaded phpMyAdmin 4.0.10.20 and added the current config.inc.php file to the new phpMyAdmin folder I just downloaded. I then replaced the file in Applications/MAMP/bin as well as /Library/Application Support/appsolute/MAMP PRO/. When I tried running localhost/phpmyadmin I wasn't able to connect. When I went to localhost/mamp I noticed under tools it still said I needed PHP 5.5+ to access phpMyAdmin. I then switched to CGI mode in MAMP Pro and changed localhost to 5.5.38 and when I went to localhost/phpmyadmin it was now working, but it still said I was using phpMyAdmin v4.7.3. So my question is how do I actually change the phpMyAdmin version used with MAMP Pro? I was under the impression that downloading old version and replacing in those two places mentioned should have taken care of it. I also made sure to restart server anytime I made a change to MAMP files so that's not the problem
I was doing everything necessary according to MAMP support in terms of changes, but they believe there was something in the code preventing me from viewing phpMyAdmin in a lower version. I ended up just using Sequel Pro to do what I needed and that was quite simple.
In the MAMP menu bar>> Tools - I am seeing this:
phpMyAdmin(needs PHP5.5x to 7.0x)
SQLite Manager (needs PHP5.2.x or 5.3.x)
I have 8 sites on one shared database developed locally using MAMP. Never had a problem in the past. I cannot access any of the sites via localhost. - the last site I worked on required a newer version of PHP and I added V7.1.1 - the prior sites are run on earlier PHP versions, built full site using php 7.1.1 locally no problem. - That said, currently
none of the sites will open via localhost.
The only thing I can think of is that I may have upgraded to OS Sierra and maybe that threw off a file? I called Apple they recommend not touching the Apache settings. I reinstalled Mamp, no change.
OS Sierra 10.12.3
MAMP V.4.1.1
PHP V. 7.1.1
I can connect to the internet, and my firewall is off.
I checked my host file - everything is there that should be with the exception of : "sudo killall -HUP mDNSResponder" which I read in an earlier thread - do I need this?
localhost connection message:
"Unable to connect
Firefox can’t establish a connection to the server at localhost:8888."
I thought that by downloading the lastest version of MAMP I would be recieving the latest package of software such as apache,mysqyl and phpMyAdmin?
I humbly ask for any insight and thank you in advance!
I'm having this same issue and just found this on google:
After you run the servers on MAMP/MAMP PRO
TRY THIS:
localhost:8888/phpmyadmin
I upgraded my mamp installation from 3.5 to 4.0.6 (renamed existing MAMP to MAMP-old). Running any website on localhost will not load. Have performed the following:
first migration to new MAMP I copied the db folder to the new mamp and set all the proper ports (3306 and 80). Ran localhost/website and blank white page.
then reinstalled new version of MAMP and manually created needed databases and insured database user was added. Ran localhost/website and blank white page.
If I go back to previous install of MAMP (3.5) everything works fine. I have performed several MAMP upgrades in the past without issue. So not sure why this upgrade is not working.
I am running on MAC Sierra. No other 3rd part tools involved. Working version of MAMP uses PHP 5.6.10. New version of MAMP using PHP 5.6.27.
When localhost/website will not run, checking safari developer console shows failed to load the resource: server responded with a status of 500 (internal server error). Verified document root is set properly.
Any suggestions for uncovering the problem would be most appreciated.
I recently downloaded WAMP server to get started developing a website locally on my Windows 7 32 bit computer. It was working fine.
Not long after, I downloaded a few different OSGeo4W packages mainly to use QGIS and develop plugins. This is when I began having issues accessing the phpmyadmin local host (page not found error).
I tried uninstalling WAMP in order to re-install it, and now it seems to be taking a very long time to extract files, blocking on the apache 2.4.9 files. Does anyone have any idea if this may be because OSGeo4 installed another version of Apache on my computer? How can I solve this issue?
This is because apache is already running via OSGeo4W application. You can turn it off by launching OSGeo4W-Apache-Monitor and stopping the services. (start/all programs/Apache/OSGEO4W-Apache-Monitor.
Then restart wamp and it should work fine.