in Social

I went to use Apache on my Mac but it kept dying on launch. It took me a while to find it was due to the LoadModule directive for PHP. Commented it out and it ran, albeit with no PHP.

The problem was that PHP is no longer built-in on macOS so my httpd.config was pointing to Homebrew’s php@8.1 which I’d since updated it to 8.2, so the path was no good and Apache no likey.

The solution was to update the path and do the codesign dance again.

Write a comment

Comment