At this point, you can install phpbrew is a tool for installing and managing multiple PHP versions.

resource guide to  php dating 7 pdf-2resource guide to  php dating 7 pdf-37resource guide to  php dating 7 pdf-47

The Mac Ports Project is an open-source community initiative to design an easy-to-use system for compiling, installing, and upgrading either command-line, X11 or Aqua based open-source software on the OS X operating system.

Mac Ports supports pre-compiled binaries, so you don’t need to recompile every dependency from the source tarball files, it saves your life if you don’t have any package installed on your system.

The solutions listed above mainly handle PHP itself, and do not supply things like Apache, Nginx or a SQL server.

“All-in-one” solutions such as MAMP and XAMPP will install these other bits of software for you and tie them all together, but ease of setup comes with a trade-off of flexibility. After the extraction of PHP, it is recommended to set the PATH to the root of your PHP folder (where is located) so you can execute PHP from anywhere.

PHP 7.1 is very new, and adds many amazing new features over the older 5.x versions.

The engine has been largely re-written, and PHP is now even quicker than older versions.

With PHP 5.4 or newer, you can start learning PHP without installing and configuring a full-fledged web server.

To start the server, run the following command from your terminal in your project’s web root: OS X comes prepackaged with PHP but it is normally a little behind the latest stable.

Upgrading is really quite easy, as there are not many backwards compatibility breaks.

If you are not sure which version a function or feature is in, you can check the PHP documentation on the website.

If you are developing on Windows and deploying to Linux (or anything non-Windows) then you should consider using a Virtual Machine.