Errors:
AH00557: httpd: apr_sockaddr_info_get() failed for MacBook-Pro-N.local AH00558: httpd: Could not reliably determine the server fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
I tried reinstalling apache24 using homebrew. But this did not fix my problem. I also configured httpd.conf, uncommented ServerName localhost. But it still didn’t help.
Please, help.
try adding 127.0.0.1 MacBook-Pro-N.local
127.0.0.1 MacBook-Pro-N.local
to your /etc/hostsfile
/etc/hosts
Another solution is to change ServerNameto localhost.
ServerName
localhost
So, first you need to find the location of the httpd.confApache configuration file :
httpd.conf
apachectl -t -D DUMP_INCLUDES
ServerName (, /etc/hosts). .
ServerName localhost
Source: https://habr.com/ru/post/1670430/More articles:WhereNot expression linq - .netIs it unreasonable to change the class of functions in other packages? - rA brilliant application does not respond to changes to the Biostrings :: DNAString - rDynamic link to open black page ios - iosUse Enum definition order as natural order - pythonCannot connect to docker daemon in docker - dockerIs it possible to create a separate CSS file using angular-cli? - angularPrint headers on every page. Print.CSS - htmlMarkLogic: why does uninstalling the application server cause the cluster to restart? - marklogicWhy does the file-command declare that the executable contains "debug_info", - c ++All Articles