![]() Table of Contents hide 1 Install Apache for Mac OS X. My Mac OS is Mountain Lion (10.8), so for earlier versions you might need to make some changes in the steps provided below. LoadModule php7module libexec/apache2/libphp7.so. Cd /etc/apache2/ cp nf Edit the Apache configuration. First, let’s make a backup of the default Apache configuration. Enable Apache on macOS apachectl start Check if works by accessing: Enable PHP for Apache. Lets go ahead and configure our LAMP stack development environment on macOS Mojave. We will be using the pre-installed Apache and PHP and we will download and setup MySQL database. Apple released the new macOS Mojave 10.14 on 24th September 2018 and it includes Apache and PHP. Apple released macOS Catalina 10.15 on 7th October 2019 and it includes Apache and PHP. In this tutorial we will learn to install Apache, MySQL, PHP on macOS Catalina 10.15. Apache and PHP already come preloaded in OS X 10.7 Lion and 10.6 Snow Leopard, the versions on 10.7 Lion are PHP 5.3.6 and Apache 2.2.20, these 2 pieces of Open Source software are part of the “AMP” stack with MySQL the missing third component.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |