If you install macOS on an additional volume of your startup disk, you can switch between that macOS and the macOS on your other volume, as if each were on a separate disk. And because storage space is shared across APFS volumes, you don't need to reserve space for the new volume. Its size automatically adjusts to fit your content.
What you need
The current Apache OpenOffice supports Apple OS X version 10.7 (Lion), 10.8 (Mountain Lion), 10.9 (Mavericks), 10.10 (Yosemite), 10.11 (El Capitan) and macOS 10.12 (Sierra), 10.13 (High Sierra), 10.14 (Mojave), 10.15 (Catalina). The last OpenOffice version supporting Mac OS X 10.4 (Tiger), 10.5 (Leopard), 10.6 (Snow Leopard) is OpenOffice 4.0.1. In this tutorial we will learn to install Apache, MySQL, PHP on macOS Catalina 10.15. About macOS Catalina. Apple released macOS Catalina 10.15 on 7th October 2019 and it includes Apache and PHP. So, all we have to do is enable them. Then install MySQL and we are ready for development. So, lets get started.
Your Mac must already be using macOS High Sierra or later on an APFS-formatted startup disk. Find out which format your startup disk is using.
You don't need to reserve storage space for the new volume, but macOS needs as much as 20GB of available space to install, depending on the version of macOS. If you don't have enough space, the installer will let you know.
About This Mac includes a storage overview: Choose Apple () menu > About This Mac, then click Storage.
Back up your Mac
It's a good idea to back up your Mac first, especially if you're installing a beta version of macOS. Beta software is software that is still in development, so some apps and services might not work as expected.
Add an APFS volume
- Open Disk Utility, which is in the Utilities folder of your Applications folder.
- In the sidebar, select your existing APFS volume.
- Choose Edit > Add APFS Volume from the menu bar, or click in the Disk Utility toolbar. These options are available only when an APFS volume is selected.
- Type any name for the new APFS volume, then click Add:
- Disk Utility should now show the new volume in the sidebar. The new volume will also appear in the Finder, as if it were a separate disk. You can now quit Disk Utility.
Install macOS on the volume
Choose an installation method:
- To install a beta (prerelease) version of macOS, enroll in the Apple Beta Software Program and follow the installation instructions on the program website.
- To install a release version of macOS, you can use macOS Recovery. The keys you press at startup determine which macOS is installed.
When the installer opens and you're asked to choose where to install, click Show All Disks, then select the new volume.
Switch between macOS versions
After installation is complete, you can use Startup Disk preferences or Startup Manager to quickly switch between each macOS:
- Choose Apple () menu > Startup Disk, then click and enter your administrator password. Select the volume that you want to use, then click Restart.
- Or press and hold the Option key during startup. When prompted, choose the volume that you want to start up from.
Keep the macOS on each volume up to date
To find the latest updates for each version of macOS, check for software updates, then start up from the other volume and check for software updates again.
Learn more
If your Mac is using macOS Sierra or earlier, or the startup disk is formatted as Mac OS Extended instead of APFS, you can create a new partition instead. The space it occupies doesn't automatically adjust to fit your content, so you must manually size the partition. Learn how to add a volume to a device formatted as Mac OS Extended.
In this post we see how to change the PHP version of Apache in MacOS Catalina.
MacOS Catalina comes with Apache and PHP 7.3 already preinstalled.
Sometimes we may need to run a different version of PHP with Apache.
For example Magento 2 needs PHP 7.2 to run .
Install PHP 7.2 using Homebrew
To checkout the current PHP version, run:
In my case, it was PHP 7.3.
So, first we need to install the PHP version we need. I used Homebrew to install PHP 7.2.
Next, I enabled PHP 7.2 as my default PHP version for the cli. (zsh):
Install Apache Mysql Php On Macos Catalina 10.15
Or, if you use bash, use the following:
(If you watch the terminal output during PHP 7.2 installation, you’ll see that Homebrew gives us these commands.)
Now, run the following command again and you should see that PHP 7.2 is enabled.
Change Apache PHP version to PHP 7.2
If you run phpinfo() in a browser, you see that although we changed the PHP version of the cli to PHP 7.2, Apache still uses PHP 7.3.
Let’s change that.
In the terminal, run the following command to edit Apache configuration file:
To disable PHP 7.3, find the following line and comment it out by entering # at the beginning:
To enable PHP 7.2, paste the following line, bellow the previous.
Restart Apache:
Install Apache Macos Catalina Download
Refresh the browser and you should see that Apache is now using PHP 7.2
That’s it!
Install Apache Macos Catalina Update
If you have any questions or want to say hi, please leave a comment below.
Install Apache Macos Catalina Free
——
Install Apache On Macos Catalina
I would also like to reference the following: