![]() ![]() Once the installation is finished, restart the shell and check the active PHP version.Configure PHP 8.3 as default: brew link -overwrite -force shivammathur/php/.To install a different PHP version just replace 8.3 with required version. Installing PHP: Use the below command to install PHP 8.3 on a macOS system.First, we need to add the shivammathur/php tap to homebrew.The latest version of PHP 8.2 is available to install. The latest version of macOS Sierra ships with PHP 5.6 and OSX 10.11 El Capitan with PHP 5.5, and OSX 10.8 Mountain Lion ships with PHP version 5.3. You can install Homebrew with the following command. It is useful for installing most open-source software like Node. Homebrew: Homebrew is a popular package manager for the Mac operating systems.Now login to your Mac system and open a terminal Terminal: You must have Mac terminal access and little knowledge about working with the terminal application.Prerequisitesīefore starting the installation of PHP using this tutorial you must have the following prerequisites This tutorial will help you to install PHP on macOS. It also allows you to install and use multiple PHP versions on a single macOS system. The PHP versions for macOS is maintained in third party repository that can be add to system with brew tap. It was created by Rasmus Lerdorf in 1994. Originally it was developed for web development but now is also used as a general-purpose language. PHP stands for HyperText Preprocessor and is a server-side programming language. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |