install php in mac code example
Example 1: php apache install macbook
LoadModule php7_module libexec/apache2/libphp7.so
Example 2: php apache install macbook
cd /etc/apache2/
cp httpd.conf httpd.conf.Catalina
LoadModule php7_module libexec/apache2/libphp7.so
cd /etc/apache2/
cp httpd.conf httpd.conf.Catalina