Replies: 3 comments 1 reply
-
The first two warnings is related to Apache being unable to find the default document root directories so your
Make sure to change it so that it points to the correct path of where your files for your website are located (you should be able to find this under The permission denied means that either another programme is already using port 80 or for some reason your settings means that Apache doesn't have the necessary permissions to use that port. So make sure no other programmes are using that port and check that by doing
And if the permissions are the problem just do the following
At this point try again, otherwise make sure everything is installed properly
And then to configure Apache in your
Again make sure the paths match your actual installation paths. You might need to do
To make sure you are not running into permission issues |
Beta Was this translation helpful? Give feedback.
-
Permissions was the problem. Is there a way to fix this? |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I cannot get Apache to run or load PHP 8.1 after I installed Homebrew. I am running Mac OS 14.0. When I attempt to restart Apache with "Apachectl restart" I get the following:
AH00112: Warning: DocumentRoot [/opt/homebrew/opt/httpd/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [/opt/homebrew/opt/httpd/docs/dummy-host2.example.com] does not exist
httpd not running, trying to start
(13)Permission denied: AH00072: make_sock: could not bind to address 127.0.0.1:80
no listening sockets available, shutting down
AH00015: Unable to open logs
I would like to get PHP working. Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions