Click on the link above to download Apache Directory Studio for macOS. The download appeares in the Downloads folder in Finder. Double-click on the disk image to open it. Drag-and-drop the Apache Directory Studio application on the Applications folder to install it. Click on any of the binary downloads, or choose a specific scala version if you have any dependency with scala in your development. Go with the recommended mirror site. Extract the contents. Navigate to root of Apache Kafka folder and open a Terminal. Or Open a Terminal and navigate to the root directory of Apache Kafka. I have installed Apache, PHP, and MySQL on Mac OS X since Leopard. Each time doing so by hand. Each version of Mac OS X having some minor difference. This post serves as much for my own record as to outline how to install Apache, MySQL, and PHP for a local development environment on Mac OS X Mountain Lion Mavericks.
I mainly do web development on my 15 in Macbook Pro. Mac runs on base Unix foundation so mainly you could install almost all Linux/Unix software on Mac very easily.
Sep 14, 2020 Download Apache for Mac to set up your own web server. Apache has had 1 update within the past 6 months. The Mac OS X installation process is fairly painless and straight forward, but there are a few rough spots along the way. Follow these step by step instructions to get Tomcat up and running on your Mac OS X machine in no time. Configure Environment Variables Prerequisite: Java. Download and install the latest Java 8u92 form this link.
Mac OS X comes by default with ApacheWeb Server and PHP. In this tutorial we will go over steps on how to enable those on Mac.
Let’s get started:
Enable Apache Web Server
Step-1
Open terminal App and run below command:
Step-2
Open browser and check with URL: http://localhost
Enable PHP Module and verify Perl module
Step-1
Open Terminal
App. Mac OS X comes by default with Perl library
. Just type below commands to check Perl and PHP Setup.
2 4 6 8 10 12 14 16 18 | /usr/bin/perl bash-3.2# pwd total120 -rw-r--r--1root wheel13077Sep92014magic drwxr-xr-x14root wheel476Sep92014extra -rw-r--r--1root wheel20786Sep92014httpd.conf -rw-r--r--1root wheel20786Jun913:55httpd.conf.bak bash-3.2# vi httpd.conf |
Step-2
Open file httpd.conf
file. You may use any Text Editor
also.
Uncomment the following line (remove #): LoadModule php5_module libexec/apache2/libphp5.so
Step-3
Restart Apache Web Server:
Step-4
- Find
DocumentRoot
fromhttpd.conf
file. In my case it’s/Users/crunchify/Documents/Blogs/MAMP
as I’m using MAMP on my Mac. - You may have diff folder something like
/Library/WebServer/Documents/
. - Create below file
crunchify-php-on-mac.php
under your DocumentRoot folder. - If you don’t see folder
Web Server
then just create it 🙂
2 4 6 8 | <head> </head> <?phpecho'<p>Hello World - PHP Testcase on Mac OS X by Crunchify.com...</p><br>Have a fun.. Enjoy..';?> </html> |
Step-5
Now visit this URL: http://localhost/crunchify-php-on-mac.php
and you should see php file loaded successfully on browser.
How to Kill Apache httpd process on Mac?
Just incase if you need to kill apache httpd process on Mac then you could use below commands.
2 | sudo launchctl unload/System/Library/LaunchDaemons/org.apache.httpd.plist |
Enjoy and Happy coding…
Join the Discussion
If you liked this article, then please share it on social media. Still have any questions about an article, leave us a comment.
Other Popular Articles...
XAMPP is an easy to install Apache distribution containing MariaDB, PHP, and Perl. Just download and start the installer. It's that easy.
In this episode of Tech & Auto Show, we go for a drive in Volkswagon T-Roc, also take A clsoer look at Apple I MAC 27-Inch 2020 and Samsung galaxy tab S7+. We then go for a ride in 2020 TVS Apache. Historical releases, including the 1.3, 2.0 and 2.2 families of releases, are available from the archive download site. Apache httpd for Microsoft Windows is available from a number of third party vendors. Stable Release - Latest Version: 2.4.46 (released 2020-08-07). The output should be compared with the contents of the SHA256 file. Similarly for other hashes (SHA512, SHA1, MD5 etc) which may be provided. Windows 7 and later systems should all now have certUtil. This version of library is included in Apache Tomcat distributions. B) OCSP-enabled. This one has enabled support for verification of client SSL certificates via OCSP protocol ( 45392 ).
XAMPP for Windows7.2.34, 7.3.23 & 7.4.11
Version Checksum Size 7.2.34 / PHP 7.2.34 What's Included? - md5
- sha1
153 Mb 7.3.23 / PHP 7.3.23 What's Included? - md5
- sha1
153 Mb 7.4.11 / PHP 7.4.11 What's Included? - md5
- sha1
154 Mb Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.2.34, phpMyAdmin 5.0.3, OpenSSL 1.1.1, XAMPP Control Panel 3.2.4, Webalizer 2.23-04, Mercury Mail Transport System 4.63, FileZilla FTP Server 0.9.41, Tomcat 7.0.106 (with mod_proxy_ajp as connector), Strawberry Perl 5.32.0.1 Portable
Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.3.23, phpMyAdmin 5.0.3, OpenSSL 1.1.1, XAMPP Control Panel 3.2.4, Webalizer 2.23-04, Mercury Mail Transport System 4.63, FileZilla FTP Server 0.9.41, Tomcat 7.0.106 (with mod_proxy_ajp as connector), Strawberry Perl 5.32.0.1 Portable
Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.4.11, phpMyAdmin 5.0.3, OpenSSL 1.1.1, XAMPP Control Panel 3.2.4, Webalizer 2.23-04, Mercury Mail Transport System 4.63, FileZilla FTP Server 0.9.41, Tomcat 7.0.106 (with mod_proxy_ajp as connector), Strawberry Perl 5.32.0.1 Portable
Windows 2008, 2012, Vista, 7, 8 (Important: XP or 2003 not supported)
Windows XP or 2003 are not supported. You can download a compatible version of XAMPP for these platforms here.
XAMPP for Linux7.2.34, 7.3.23 & 7.4.11
Version Checksum Size 7.2.34 / PHP 7.2.34 What's Included? - md5
- sha1
151 Mb 7.3.23 / PHP 7.3.23 What's Included? - md5
- sha1
148 Mb 7.4.11 / PHP 7.4.11 What's Included? - md5
- sha1
149 Mb Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.2.34 + SQLite 2.8.17/3.33.0 + multibyte (mbstring) support, Perl 5.32.0, ProFTPD 1.3.6, phpMyAdmin 5.0.3, OpenSSL 1.1.1h, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.3.23 + SQLite 2.8.17/3.33.0 + multibyte (mbstring) support, Perl 5.32.0, ProFTPD 1.3.6, phpMyAdmin 5.0.3, OpenSSL 1.1.1h, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.4.11 + SQLite 2.8.17/3.33.0 + multibyte (mbstring) support, Perl 5.32.0, ProFTPD 1.3.6, phpMyAdmin 5.0.3, OpenSSL 1.1.1h, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
Most all distributions of Linux are supported, including Debian, RedHat, CentOS, Ubuntu, Fedora, Gentoo, Arch, SUSE.
XAMPP for OS X7.2.34, 7.3.23, 7.4.11, 7.2.34, 7.3.23 & 7.4.11
Version Checksum Size 7.2.34 / PHP 7.2.34 What's Included? - md5
- sha1
161 Mb 7.3.23 / PHP 7.3.23 What's Included? - md5
- sha1
160 Mb 7.4.11 / PHP 7.4.11 What's Included? - md5
- sha1
159 Mb 7.2.34 / PHP 7.2.34 What's Included? - md5
- sha1
353 Mb 7.3.23 / PHP 7.3.23 What's Included? - md5
- sha1
355 Mb 7.4.11 / PHP 7.4.11 What's Included? - md5
- sha1
356 Mb Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.2.34 + SQLite 2.8.17/3.33.0 + multibyte (mbstring) support, Perl 5.32.0, ProFTPD 1.3.6, phpMyAdmin 5.0.3, OpenSSL 1.1.1h, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.3.23 + SQLite 2.8.17/3.33.0 + multibyte (mbstring) support, Perl 5.32.0, ProFTPD 1.3.6, phpMyAdmin 5.0.3, OpenSSL 1.1.1h, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.4.11 + SQLite 2.8.17/3.33.0 + multibyte (mbstring) support, Perl 5.32.0, ProFTPD 1.3.6, phpMyAdmin 5.0.3, OpenSSL 1.1.1h, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.2.34 + SQLite 2.8.17/3.33.0 + multibyte (mbstring) support, Perl 5.32.0, ProFTPD 1.3.6, phpMyAdmin 5.0.3, OpenSSL 1.1.1h, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.3.23 + SQLite 2.8.17/3.33.0 + multibyte (mbstring) support, Perl 5.32.0, ProFTPD 1.3.6, phpMyAdmin 5.0.3, OpenSSL 1.1.1h, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.4.11 + SQLite 2.8.17/3.33.0 + multibyte (mbstring) support, Perl 5.32.0, ProFTPD 1.3.6, phpMyAdmin 5.0.3, OpenSSL 1.1.1h, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
Add-ons
Applications
Install your favorite apps on top of XAMPP. Bitnami provides a free all-in-one tool to install Drupal, Joomla!, WordPress and many other popular open source apps on top of XAMPP.
OS X native modules have been deprecated. Please use XAMPP-VM for OS X and the Linux version of the add-ons. Check our FAQs for more info.
Use the links below to download the Apache HTTP Server from one of ourmirrors. You mustverify the integrity of the downloadedfiles using signatures downloaded from our main distribution directory.The signatures can be verified with ourKEYS file.
Only current recommended releases are available on the main distributionsite and its mirrors. Historical releases, including the 1.3, 2.0 and 2.2families of releases, are available from the archive download site.
Apache httpd for Microsoft Windows is available froma number of third party vendors.
Stable Release - Latest Version:
- 2.4.46 (released 2020-08-07)
If you are downloading the Win32 distribution, please read these importantnotes.
The currently selected mirror ishttps://apache.mirrors.nublue.co.uk/. If you encounter a problem with this mirror, please selectanother mirror. If all mirrors are failing, there are backup mirrors (atthe end of the mirrors list) that should be available.You may also consult the complete list ofmirrors.
The Apache HTTP Server Project is pleased toannounce therelease of version 2.4.46 of the Apache HTTP Server ('Apache' and 'httpd').This version of Apache is our latest GA release of the new generation 2.4.xbranch of Apache HTTPD and represents fifteen years of innovation by theproject, and is recommended over all previous releases!
For details, see the OfficialAnnouncement andthe CHANGES_2.4 andCHANGES_2.4.46 lists.
Apache Download For Mac
Source: httpd-2.4.46.tar.bz2[ PGP ] [SHA256 ]
Source: httpd-2.4.46.tar.gz [PGP ] [SHA256 ]
The Apache Software Foundation and the Apache HTTP Server Project arepleased to announce the release of version 2.3.9 of mod_fcgid, a FastCGIimplementation for Apache HTTP Server versions 2.2 and 2.4. Thisversion of mod_fcgid is a security release.
For information about this module subproject, see the mod_fcgid moduleproject page.
Source as gzip with LF line endings:mod_fcgid-2.3.9.tar.gz[PGP] [MD5] [SHA1]
Source as bz2 with LF line endings:mod_fcgid-2.3.9.tar.bz2[PGP] [MD5] [SHA1]
Win32, Netware or OS/2 Source with CR/LF line endings:mod_fcgid-2.3.9-crlf.zip[PGP] [MD5] [SHA1]
Set Up Apache On Mac
The Apache HTTP Server Project is pleased to announce the release of ApacheFTP module for Apache HTTP Server, version 0.9.6 as beta.
Users are encouraged to test and provide feedback on this beta release. Forinformation about this module subproject, see the mod_ftp module projectpage.
Apache Netbeans Download Mac
Apache For Mac Download
Source with LF line endings (bzip2 compressed):mod_ftp-0.9.6-beta.tar.bz2[PGP] [SHA1] [MD5]
Source with LF line endings (gzip compressed):mod_ftp-0.9.6-beta.tar.gz[PGP] [SHA1] [MD5]
Win32, Netware or OS/2 Source with CR/LF line endings:mod_ftp-0.9.6-beta-crlf.zip[PGP] [SHA1] [MD5]
Download Apache For Mac
It is essential that you verify the integrity of the downloaded files usingthe PGP or SHA signatures. Please read Verifying Apache HTTP ServerReleases for more information on why you shouldverify our releases and how to do it.