Wednesday, 27 March 2023 05:44
New Magento Enhancements Available Today [27 March 2023 ]
Today, Magento is releasing new versions of Magento Commerce and Open Source to increase product security, performance and functionality:
- Magento Commerce and Open Source 2.3.1
- Magento Commerce and Open Source 2.2.8
- Magento Commerce and Open Source 2.1.17
- Magento Commerce 1.14.4.1
- Magento Open Source 1.9.4.1
- SUPEE-11086 to patch earlier Magento 1.x versions
Thursday, 15 December 2023 14:43
Mac how to Upgrade php v5 to php v7
We will proceed by installing PHP 5.5, PHP 5.6, PHP 7.0, and PHP 7.1 and using a simple script to switch between them as we need.
$ brew install php55 --with-apache $ brew unlink php55 $ brew install php56 --with-apache $ brew unlink php56 $ brew install php70 --with-apache $ brew unlink php70 $ brew install php71 --with-apache
Let's do it!
brew install php71
Or use this code and install php 7.3 without brew
curl -s https://php-osx.liip.ch/install.sh | bash -s 7.3
and after that run this in terminal
export PATH=/usr/local/php5/bin:$PATH
But, we looking Error:
==> Installing php71 from josegonzalez/php Error: Cannot install josegonzalez/php/php71 because conflicting formulae are installed. php55: because different php versions install the same binaries. Please `brew unlink php55` before continuing. Unlinking removes a formula's symlinks from /usr/local. You can link the formula again after the install finishes. You can --force this install, but the build may fail or cause obscure side-effects in the resulting software.
Dont panic! :-) Run unlink command:
brew unlink php55
# Unlinking /usr/local/Cellar/php55/5.5.38_11... 17 symlinks removed
Then try again:
brew install php71 # ==> Summary # ? /usr/local/Cellar/php71/7.1.0_11: 342 files, 39.7M
Then try our php version
php -v
PHP 7.1.0 (cli) (built: Dec 2 2016 03:30:24) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.1.0-dev, Copyright (c) 1998-2016 Zend Technologies
What you can do if you type php -v and show php v5.5?
open terminal and put this code and press Enter
export PATH=/usr/local/php5/bin:$PATH