Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

-mattias-

macrumors regular
Original poster
Dec 11, 2009
107
0
Upgraded to Mac OS 12 today and noticed PHP was removed. Have installed PHP 8 using brew. I've tried setting it up with the default httpd and also tried installing it with brew. I load the module in the config. In both cases, when I access the files on the localhost in my browser, it just prints the text in the php files and doesn't execute them. Haven't really got any clue left
 
brew install httpd

Use php-fpm, not the regular module.

Make sure your config is correct. Google.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.