Look for the following line, and place the new line under it. The next thing we need to set up is a virtual host. New: LoadModule php7_module libexec/apache2/libphp7.so Apache vhost old: # LoadModule php7_module libexec/apache2/libphp7.so Search ( CTRL + W) and remove the # before the php7_module line. Open up the nf file by running: sudo nano /etc/apache2/nf Once you have a version you're happy with, we have to enable apache to use it. This is not a needed step, so check out my article on updating the PHP version on Mac OS X. However, you might want to update the version. Nowadays, your Mac will come with PHP installed. You might be thinking, wow, that's a lot of stuff, but your Mac will come with most of this stuff pre-installed. The elements we need to run a WordPress installation locally are as follows: However, in this article, I'll guide you on setting it up locally. I used to do a lot of WordPress development and always had to leverage MAMP/XAMP for this. Today we'll learn how to run a WordPress installation on our Mac OS X system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |