![]() If Apache still refuses to start, check the log file for error messages.Īnother reason why the Apache web server may not start is that Skype is running and already using the ports you have set for your Apache web server.Kill any process you find after your search.(/Software-Documentation/en/MAMP-PRO-Mac/FAQ/Apache/Apache-will-not-start/Activity-Monitor-httpd.png) Type “httpd” in the search box at the top right. Activate the “All Processes” item in the “View” menu.Open the Activity Monitor located in your /Applications/Utilities folder.To find out if this is the case, follow these steps: The most common reason that the Apache web server fails to start is that another Apache web server is already running on the same port. I have since re-entered the custom line with the correct structure and all working fine again.FAQ > Apache > Apache will not start Another Apache web server is running on the same port I had previously entered a custom line in my nf file that for countless versions had copied across fine however it looks like the folder structure had changed and so couldn't locate it causing the unusual error about User permissions. Save & restarted the servers and all worked finally and all my hosts had retained as well. (22)Invalid argument: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directiveįile > Edit Template > Revert ALL Templates to Default Settings. After fixing that by adding 5.2.17 to MAMP I experienced an apache error regarding user permissions. ![]() I was getting the same error where it couldn't find a php file in 5.2.17. There were 2 things I did to fix the issue. My Apache server was working fine and then following updating to 4.0.6 I experienced similar issues. ![]() I managed to fix the similar issue you had. I and my colleagues are at a complete loss, especially given it was working yesterday. It also looks like hosts entries aren't added to /etc/hosts.Įven if I tell /Applications/MAMP/conf/apache/nf to do nothing but include /Library/Application Support/appsolute/MAMP PRO/conf/nf (and manually add entries to /etc/hosts) it still doesn't seem to work at all. I can now start it manually from the command line however, but none of my virtual hosts/etc seem to be loaded.Īpachectl -V tells me it's using /Applications/MAMP/conf/apache/nf, but there is nothing in that file that has any reference to any of the configs generated in /Library/Application Support/appsolute/MAMP PRO/conf If I add PHP 5.2.17 to MAMP using the appropriate MAMP Pro dialogs, Apache still fails to start via the MAMP Pro interface. The confusing thing is that I don't have PHP 5.2.17 specified anywhere, at all - according to MAMP Pro it should be using PHP 7.0.12. Httpd: Syntax error on line 135 of /Applications/MAMP/conf/apache/nf: Cannot load /Applications/MAMP/bin/php/php5.2.17/modules/libphp5.so into server: dlopen(/Applications/MAMP/bin/php/php5.2.17/modules/libphp5.so, 10): image not found When starting it manually on the command line it comes up with a PHP related error: $ Applications/MAMP/bin/apache2/bin/apachectl start I've tried numerous suggestions found via Stack Overflow and Google without any success.Įven after completely uninstalling and re-installing MAMP Pro I am unable to get the service to start. Shut down my system yesterday, started today, it no longer works. I've made no system configuration changes, no changes to MAMP/MAMP Pro. I haven't had any unusual issues at all, but today the Apache service failed to start, telling me to check the error logs. Have been using MAMP Pro for a fair while - version 3 primarily, upgraded to 4 a while ago. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |