Apache, PHP in MAC
Apache in MAC Mac has already apache and PHP installed we need to just enable them for Apache sudo apachectl start PHP cd /etc/apache2/ open httpd.conf find & uncomment this php LoadModule php7_module libexec/apache2/libphp7.so htaccess LoadModule rewrite_module libexec/apache2/mod_rewrite.so Enable your conf uncomment this # Virtual hosts Include /private/etc/apache2/extra/projects.conf create project.conf file in /etc/apache2/extra/projects.conf <VirtualHost *:80> ServerAdmin webmaster@projects.com DocumentRoot "/Users/gulshanprajapati/Projects" ServerName projects.com ServerAlias www.projects.com ErrorLog "/private/var/log/apache2/projects.com-error_log" CustomLog "/private/var/log/apache2/projects.com-access_log" common <Directory "/Users/gulshanprajapati/Projects" > AllowOverride All Options Indexes MultiViews FollowSymLinks Require all gra...