mac os not found php module in httpd.conf
=====> brew info php
this will show you all details about the php
and you can the the libapache2-mode under details
=====================================
now folow the the steps to add config in httpd.conf file
now restart the sever
========>. sudo apachectl start
use all the config from your console not from the web Page
helpfull links
https://stackoverflow.com/questions/39456022/php7-installed-by-homebrew-doesnt-work-with-apache-on-macos
https://gist.github.com/DragonBe/0faebe58deced34744953e3bf6afbec7