Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save onebelarusianguy/628af45077a68b6cd6637e0ae351dcd6 to your computer and use it in GitHub Desktop.

Select an option

Save onebelarusianguy/628af45077a68b6cd6637e0ae351dcd6 to your computer and use it in GitHub Desktop.
Apache doesn't work after php updated
Symptoms:
- returns the default "The site caanot be reached"
- sudo apachectl -k restart returns "Segmentation fault: 11 $HTTPD "$@""
The reason:
- Apache tries to load two versions of PHP
Solution:
- Comment module loading in file "/etc/apache2/other/+php-osx.conf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment