Download Updated Versions: XAMPP Version 7.4.6 for OSX XAMPP Version 7.3.18 for Mac XAMPP Version 7.2.31 for Mac XAMPP is quite attractive package for Mac users, because of it being Lightweight software, simpler GUI and inclusion of Number of tools/ features with it. This is a complete package which is easy to easy install, configure. That makes no sense. PHP 5.6 won't install anything but the mysqlnd driver as far as I know. And you don't need the old MySQL client to run PHP 4 code, you might need the old MySQL client to connect to an old obsolete MySQL Server, like version 4.0 or something. There is a 'One Line Installation' tool to use PHP 5.6/5.5/5.4/5.3 for. I found good gist how to install PHP 5.4 and 5.3 side by side on Max OSX via MacPorts. I suppose, it is applicable for PHP 5.5 too. Justin Hileman maintains a blog post entitled '(Re)installing PHP on Mac OS X', which documents how to build PHP and extensions: http.
- Download Php For Mac
- Download And Install Php Macos
- Install Php Mac
- Download And Install Php Mac Os
- Php On Mac
PHP stands for HyperText Preprocessor is a server-side programming language. Originally it was developed for web development but now is also used as a general-purpose language. It was created by Rasmus Lerdorf in 1994. This tutorial will help you to install PHP on macOS.
Prerequisites
Before starting the installation of Node.js and NPM using this tutorial you must have the following prerequisites
- Terminal: You must have Mac Terminal access and little knowledge about working with the terminal application. Ao login to your Mac system and open terminal
- Homebrew: Homebrew is a popular package manager for the Mac operating systems. It is useful for installing most open source software like Node
.
Download and Install PHP on macOS
The latest version of macOS Sierra ships with PHP 5.6 and similarly OSX 10.11 El Capitan with PHP 5.5, OSX 10.8 Mountain Lion ships with PHP version 5.3. The latest version of PHP 7.2 is available to install. The below steps to help you to install PHP 7.2 or 7.1 or 5.6 on macOS.
Open a terminal and run below commands
Install PHP 7.3
Install PHP 7.2

Install PHP 7.1
Install PHP 5.6 – Running with OSX 10.11 El Capitan or lower versions.
Verify PHP Installation

Download Php For Mac
The PHP versions for macOS are maintained by php-osx and doesn’t overwrite the current php binaries installed on your system. The installs everything in /usr/local/php5. The new php binary is therefore in /usr/local/php5/bin/php.
To verify the correct version of PHP is installed on your system, Execute the following command.
Also, create a phpinfo.php under your web root directory with the following contents and access the file in web browser.
Download And Install Php Macos
Revert PHP to Default
Don’t you need the latest installed PHP? Simply edit the /etc/apache2/httpd.conf and uncomment below the line.
Install Php Mac
From:
Download And Install Php Mac Os
to
Php On Mac
And delete the files +php-osx.conf and +entropy-php.conf from /etc/apache2/other directory.