
Use control+w and type libphp uncomment this line by remove # prefix LoadModule php5_module libexec/apache2/libphp5.so Go back to file nf $ sudo nano /etc/apache2/nfĪnd uncomment: LoadModule rewrite_module libexec/apache2/mod_rewrite.so 4. httaccess and Allow Rewrites sudo nano /etc/apache2/nfĬhange AllowOverride None to AllowOverride All User-level document root will be vieable at: Uncomment Include /private/etc/apache2/users/*.conf *Open another Apache config and uncomment User * * $ sudo nano /etc/apache2/extra/nf Open file nf and allow some modules $ sudo nano /etc/apache2/nfĪnd make sure this line is uncommented LoadModule authz_core_module libexec/apache2/mod_authz_core.so LoadModule authz_host_module libexec/apache2/mod_authz_host.so LoadModule userdir_module libexec/apache2/mod_userdir.so Include /private/etc/apache2/extra/nf If not, you need to change to 644 $ sudo chmod 644 n Options Indexes MultiViews FollowSymLinksĬheck permission and should be: -rw-r-r- 1 root wheel 298 Jun 28 16:47 nf If you don’t know your shortname, type whoami and terminal. The other web root directory which is missing by default is the ~/Sites folder in the User account.Ĭhange username with your account shortname. It is easier to use the user level one as you don’t have to keep on authenticating as an admin user. Try to stop, restart, and check version using this command:

Then go to browser and open It, should be showing “It works!” text. Check installed apache on your mac sudo apachectl start
#DOWNLOAD PHPMYADMIN FOR MAC INSTALL#
Install Apache, MySQL, PHP, phpMyAdmin on OSX 10.10 Yosemite back home Install Apache, MySQL, PHP, phpMyAdmin on OSX 10.10 Yosemite
