![]() ![]() Open file /usr/local/etc/httpd/nf and add a LoadModule statement for every PHP version you have installed under the existing LoadModule lines. Now we need to load all PHP versions as Apache modules. bash_profile is reloaded.Ĭheck the latest installed PHP version is actually running. brew install install install install install first close your terminal windows so your. Later, we will install a command line tool to easily witch between versions. If you need to install a PHP version that is already end of life, like PHP 7.0, make sure to run this tap first: brew tap exolnet/homebrew-deprecated Install multiple PHP versions through Homebrewīu default, Homebrew only supports official non-deprecated PHP versions. # Check that no deprecated Homebrew PHP packages are left # brew uninstall -force php70 php70-apcu php70-opcache php70-xdebug php70-yaml ![]() # Check if you have old deprecated Homebrew PHP versions and extensions installedīrew uninstall -force php56 php56-apcu php56-opcache php56-xdebug php56-yaml If yu have any PHP versions installed from through homebrew from before March 2018, make sure to remove them. As of March 2018, PHP is part of the homebrew core. My development setup part 3: Install and configure multiple PHP versions on Mojave with Homebrew Uninstall any deprecated Homebrew PHP versions and extensionsīefore March 2018, Homebrew installed PHP as a Homebrew package. test domains, multiple PHP versions that I can easily switch between, Redis, Opcache, Image Magick, Blackfire and more. Links to the other blogs in this series are at the bottom. In this blog series, I take you through the steps I took to create my new setup: a blazingly fast and flexible setup with Apache, automatic DNS setup for. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |