In this tutorial we will learn to install Apache, MySQL, PHP on macOS Catalina 10.15.
About macOS Catalina
The application's installer is commonly called apacheopenofficeincubating3.4.0macosx86installen-us.dmg or OOo3.3.0MacOSx86installen-US.dmg etc. OpenOffice.org for Mac lies within Productivity Tools, more precisely Office Tools. This free Mac application was originally developed by OpenOffice.org. Installation of Apache OpenMeetings 4.0.10 on macOS Catalina 10.15 It is tested with positive result. We will use the Apache's. It is on Mac the same that apt-get on Debian or Ubuntu, yum on Centos or dnf on Fedora, for example. OpenOffice is need it to convert the office files uploaded to pdf. Oct 22, 2019 Apple has released macOS 10.15 Catalina on October 7, 2019. Mac apps, installer packages and kernel extensions that are signed with a Developer ID must be notarized by Apple to run on macOS Catalina. Although we have duly followed the instructions, when users launch LibreOffice 6.3.x – which has been notarized by Apple – the. 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.
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.
Note! Support for 32 bit apps is removed in Catalina so, all your 32 bit applications will no longer work. Kindly upgrade your applications.
Apple has also made zsh as the default shell. Noteburner m4v for latest macos pro. You can learn more about it here.
To change the default shell check the tutorial How to change default shell to bash on macOS Catalina.
We will be using the pre-installed Apache and PHP and we will download and setup MySQL database.
If you are using macOS Mojave then check out this tutorial How to install Apache, MySQL, PHP on macOS Mojave 10.14
Lets go ahead and configure our LAMP stack development environment on macOS Catalina.
Apache
The new macOS Catalina comes with Apache pre-installed. All we have to do is switch it on.
Apache Openoffice For Macbook
Open Terminal using macOS Spotlight or go to /Applications/Utilities and open Terminal.
To check the version of Apache installed run the following command in the Terminal.
Note! macOS Catalina comes with Apache 2.4.41
To start Apache web server run the following command.
This command will start Apache server.
When you use
sudo in the terminal then you will be prompted to enter your admin password to proceed.
If you want to stop the Apache server then run the following command.
And to restart Apache server run the following command.
After starting Apache server go ahead and test it by opening a browser like Safari or Chrome and visit
http://localhost .
You will get to see the following output in your browser.
By default, the file is getting served from
/Library/WebServer/Documents directory. We will change this is the following sections.
In case you don't get to see the above output then run the following command to check the error.
Document Root
This is the location in the computer file system from where the files are accessed when we visit the http://localhost in a browser.
Document Root is a directory where we put our website files.
On Mac we have two document root. One is at the system level and the other is at the user level.
System level document root
The system level document root in macOS Catalina is located in the following directory.
User level document root
For the user level we can create a directory called
Sites in user directory. So, open Terminal and get ready to create the user level document root directory.
Creating
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |