Use control + w to find each of the modules below. What we want to do is, uncomment this so the module is enabled.Ħ. That means that a specific line or module on that line will be ignored. The # you see in front of each line means that line is commented out. ( control + w will activate the search and it will look for a line with the keyword you put in) Press control + w and type LoadModule authz_core_module and press enter. Type sudo nano /etc/apache2/nf and press enter.ĥ. (This step is optional if you want to keep the copy of the original config file but I would recommend keeping one just in case.)Ĥ. Open the Terminal app from your Application folder or type Terminal in the Spotlight Search (shortcut: Command + Space Bar)ģ. Press Control + x to exit the nano editor.
![core php for mac core php for mac](https://i.pinimg.com/736x/de/51/a7/de51a798ce9da612ff318f58fee62c8e--mac-os-ui-kit.jpg)
Press Control + o and press enter to save the file.Ĩ. Options Indexes MultiViews FollowSymLinksħ. Copy and paste the following configuration. Type sudo nano nf and press enter (note: username will be your account name e.g.
![core php for mac core php for mac](http://www.nusphere.com/graphics/php_idemac/php_ide_mac.png)
If there is an existing nf, make a backup copy by typing sudo cp nf ĥ. Check if there is an existing nf file ( username is your account name)Ĥ. Type cd /etc/apache2/users and press enter.ģ. conf file with the name of nf under /etc/apache2/usersĢ. this is your account name / username) For example, if your username is developer, we will be making a. To be able to recognize the files putting into Sites directory, nf needed to be setup.ġ.
![core php for mac core php for mac](https://iapple-eg.com/wp-content/uploads/2019/10/fullsizeoutput199_600.jpg)
When the folder is created, it will generate a folder with a compass image on the folder as you can see from the below screenshot.
#CORE PHP FOR MAC MAC#
It is recommended to create a Sites directory under username folder (username is your mac login name) This directory will be your document root for any web-related stuff. If Apache Server is started, you should see the below: Create Sites Directory Type localhost or 127.0.0.1 in the address bar Type sudo apachectl start and press enter To start the built-in Apache server, open the Terminal app from your Application folder or type Terminal in the Spotlight Search (shortcut: Command + Space Bar) MacOS comes with Apache Server by default.