
If you want to verify the installation, and the php version installed you can use the phpinfo function. Include /private/etc/apache2/extra/nfĪfter finishing save the file (ctrl+x … then y) and exit.Įdit nf sudo nano /etc/apache2/extra/nfĪnd uncomment Include /private/etc/apache2/users/*.confĪfter restarting visit localhost/~username from your browser. LoadModule php7_module libexec/apache2/libphp7.so LoadModule rewrite_module libexec/apache2/mod_rewrite.so LoadModule include_module libexec/apache2/mod_include.so LoadModule userdir_module libexec/apache2/mod_userdir.so LoadModule authz_host_module libexec/apache2/mod_authz_host.so Now open nf sudo nano /etc/apache2/nfĪnd uncomment these (use ctrl + w for search): LoadModule authz_core_module libexec/apache2/mod_authz_core.so Options Indexes MultiViews FollowSymLinks #replace username by your username get in previous step Navigate to the Apache folder & create nf in /users directory cd /etc/apache2/users Now let’s create a Sites folder in the username home directory. Whoami is a concatenation of the words “Who am I?” and prints the effective username of the current user when invoked.


Now we will use the user level root to have something like: Before starting in this step you should determine you current username using the command: whoami Libarary/WebServer/Documents / and accessed through The default System Level Web Root document is still found at If everything work fine you will get this image when typing localhost in the browser 2- PHP and files configurations Sudo is used to give administrator access, in the first time, the shell will ask for the user password. Forbidden error faced after entering the localhostīy default, the service Apache is installed on mac it needs only to be started.
#PHPMYADMIN FOR MAC HIGH SIERRA UPDATE#
If you have a fresh installation, or you update to Mojave probably after entering localhost you will face the forbidden issue. The name MAMP is an acronym representing: macOS, the operating system Apache, the web server MySQL, the database management system and PHP, Perl, or Python, programming languages used for web development (here it will be PHP).
#PHPMYADMIN FOR MAC HIGH SIERRA HOW TO#
This tutorial will explain step by step how to install MAMP on MACOS Mojave. It’s the fifteenth major release of macOS, Apple Inc.’s desktop operating system for Macintosh computers. MacOS Mojave is the successor of macO High Sierra.
