Actualicé Apache y PHP de Mac OS Sierra, y ahora cada vez que $ sudo apachectl restart obtengo esto:
AH00557: httpd: apr_sockaddr_info_get() failed for My-MacBook-Pro.local
AH00558: httpd: Could not reliably determine the server's fully qualified
domain name, using 127.0.0.1. Set the 'ServerName' directive globally to
suppress this message
Cosas que he probado hasta ahora que no funcionaron:
- Estableciendo
ServerName localhosten /etc/httpd.conf - Estableciendo
ServerName localhost:80en /etc/httpd.conf - Estableciendo
ServerName 127.0.0.1en /etc/httpd.conf - Estableciendo
ServerName 127.0.0.1:80en /etc/httpd.conf - Asegurar que
127.0.0.1 localhostse establezca en / etc / hosts - Reiniciar repetidamente Apache