icloudple.blogg.se

Set up a local web server mac os x
Set up a local web server mac os x







set up a local web server mac os x

Instead of using the built-in versions, we’ll install Apache and PHP using Homebrew. Finally, running php -v to check the version of the built-in PHP gives a warning message stating that PHP will be removed from future versions of macOS - in fact, in the upcoming macOS Monterey, PHP seems to be gone. I’ve had problems where OS updates have overwritten my configuration for the built-in Apache server. We don’t have control over the exact versions used, and the version available might not be up to date. However, there are a few drawbacks with this approach.

set up a local web server mac os x

MacOS comes with built-in versions of Apache and PHP, and we could easily use those.









Set up a local web server mac os x