Updating Apache. Mac OS X Mojave and macOS Catalina both come with Apache pre-installed. As noted above, your Apache configuration file is overwritten me when you upgrade to macOS Catalina. There were a few differences in the configuration files. However, since both Mojave and Catalina run Apache 2.4, you could simply backup the configuration.
macOS Support
Macos apache macos-catalina. Improve this question. Follow edited Oct 21 '19 at 8:04. 7,203 8 8 gold badges 44 44 silver badges 58 58 bronze badges. Apache, MySQL & PHP on macOS Catalina 04 Oct 2019. Apple macOS 10.15 ships with both a recent version of Apache (2.4.x), as well as PHP (7.3.x), so you’ll just have to install MySQL and go through a few steps to get everything up and running. First, you have to create a web root in your user account: mkdir /Sites. A DHS sweep of the network showed that one of the researchers Macs is running a non-safe version of Apache (2.4.25) and they would like him to update to at least 2.4.27. He is having difficulty getting MacOS to use the new version of Apache rather than the one installed by default with Sierra. His issues are: Mac OS X 10.12.6 Sierra.
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.
Hardware Requirements
- CPU: Intel Processor
- Memory: Minimum 512 Mbytes RAM.
- Storage: At least 400 Mbytes available disk space for a default install via download.
- Graphics: 1024 x 768 or higher resolution with 16.7 million colours.
Additional Resources
- Click here to download
- Click here to get install instructions for OpenOffice on macOS
- Click here to get help and support in the Community Support Forums
Question or issue on macOS:
I have Apache webserver (the one supplied by Apple) running on my Macbook and it ran flawlessly, until I upgraded to Catalina 10.15.
I used the same httpd.conf, but now it is displaying
You don’t have permission to access this resource.Server unable to read htaccess file, denying access to be safe
I thought is was folder access by Catalina, but I don’t know how to let Apache access the web root folder (which is inside my /Users/me/Documents folder)as Apache is not a normal /Application.
Port 80 is open when I check with lsof -nP -i4TCP:80 | grep LISTEN op nmap, so Apache does start.
I set a simple index.html in the root folder, but the problem persists.
And when I remove the .htaccess from the Apache root folder I get:
You don’t have permission to access this resource.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
What can be the problem here ?
How to solve this problem?
Macos Catalina Apache Junction
Solution no. 1:
I have found the solution, myself.
It is a Catalina
issue:
- Go to
System Preferences
=>Security & Privacy
=>Full Disk Access
- Click on the “+” button to add an app and go to the root folder of the disk and press
Cmd + Shift + .(dot) - Go to /usr/sbin/ and select
httpd
.
That worked for me.
Solution no. 2:
i had the same error, the problem in my case was that macOS Catalina comes with the php module disable by default, in the error log apear as:
tail /private/var/log/apache2/error_log
[Wed Feb 26 18:10:57.123036 2020] [autoindex:error] [pid 3145] [client
127.0.0.1:53734] AH01276: Cannot serve directory /Library/WebServer/Documents/subdir/: No matching DirectoryIndex
(index.html) found, and server-generated directory index forbidden by
Options directive
the apache server was loking for index.html instead of index.php so it was blocking the list directory, I uncommented the line #LoadModule php7_module libexec/apache2/libphp7.so in /etc/apache2/httpd.conf and restart the apache server
sudo apachectl restart
and it just work. hope it helps.
Solution no. 3:
The above answer save my life!
I tried all the different Apache configs possible, nothing worked.
Just a small correction for step 2 – click on the “+” sign to add an app, navigate to the root folder then press Cmd + Shift + .(dot) which will show all hidden folders and allow you to see the folder in step 3 (/usr/sbin/)
I wish Apple would have at least shown some error in such a case…
Solution no. 4:
Mac catalina apache forbidden issue
Macos Catalina Apache Key
Step 1: sudo code /etc/apache2/httpd.conf
Step 2:search for line #LoadModule php7_module libexec/apache2/libphp7.so
and uncomment no need to delete it.
Step 3: sudo apachectl restart
Step 4: open Web browsers type localhost
Step5: Done
Comments are closed.