1=====> brew info php
2 this will show you all details about the php
3 and you can the the libapache2-mode under details
4
5 =====================================
6
7 now folow the the steps to add config in httpd.conf file
8
9
10 now restart the sever
11
12 ========>. sudo apachectl start
13
14 use all the config from your console not from the web Page
15helpfull links
16
17
18https://stackoverflow.com/questions/39456022/php7-installed-by-homebrew-doesnt-work-with-apache-on-macos
19
20
21
22 https://gist.github.com/DragonBe/0faebe58deced34744953e3bf6afbec7
23
24