site

I don’t suppose there’s any way to prevent macOS updates stomping on my local website every time? After doing an OS update, I have to do some magical incantations in Terminal to get my localhost (dejal.local) site working again. I use this for local testing of website changes before pushing to my production server.

· Local · site · Virtual

If interested, here is my spellbook to re-enable the local website and PHP, based on instructions I found on the web; presumably I could script this in some way, but I'm not confident enough with scripting or messing with these files to try that: % sudo nano /etc/apache2/httpd.conf Uncomment these: LoadModule authz_host_module libexec/apache2/mod_authz_host.so LoadModule authz_core_module libexec/apache2/mod_authz_core.so LoadModule userdir_module libexec/apache2/mod_userdir.so LoadModule rewrite_module libexec/apache2/mod_rewrite.so LoadModule php7_module libexec/apache2/libphp7.so LoadModule…

Read More