sudo apachectl start
and press entersudo nano /etc/apache2/httpd.conf
and press enter#LoadModule php7_module libexec/apache2/libphp7.so
sudo apachectl restart
and press entersudo nano /etc/apache2/httpd.conf
/Library/WebServer/Documents
with /Users/david/Sites
(instead of david use your name which can be found at the top of your terminal next to the home icon)sudo apachectl restart
and press entersudo /usr/local/mysql/bin/mysql -u root -p
ALTER USER 'root'@'localhost' IDENTIFIED BY 'newpassword';
and press entersudo nano /etc/apache2/httpd.conf
followed by pressing enter#LoadModule rewrite_module libexec/apache2/mod_rewrite.so
sudo apachectl restart
sudo nano /etc/apache2/httpd.conf
followed by pressing enterAllowOverride controls
, and press enterAllowOverride None
to AllowOverride All
sudo apachectl restart
sudo nano /etc/apache2/httpd.conf
followed by pressing enter#LoadModule socache_shmcb_module libexec/apache2/mod_socache_shmcb.so
#LoadModule ssl_module libexec/apache2/mod_ssl.so
#Include /private/etc/apache2/extra/httpd-ssl.conf
sudo nano /etc/apache2/extra/httpd-ssl.conf
and press enter/Library/WebServer/Documents
. Replace that with /Users/david/Sites
. (Use your name instead of david just like you did earlier)<VirtualHost_default_:443>
add (but make sure to replace david with your name):sudo nano /etc/ssl/openssl.cnf
and press entersudo apachectl
restart