MAC php version not updating

General Tech Bugs & Fixes 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

 

I'm trying to update php on my local machine by running the below command:

curl -s http://php-osx.liip.ch/install.sh | bash -s 5.6

The result of the command are as follows:

chris$ curl -s http://php-osx.liip.ch/install.sh | bash -s 5.6
Detected OS X Mavericks 10.9 All ok.
Get packager.tgz
Unpack packager.tgz
Please type in your password, as we want to install this into /usr/local
Password:
Start packager (may take some time)
downloading http://php-osx.liip.ch/install/5.6-10.8-frontenddev-latest.dat
downloading http://php-osx.liip.ch/install/5.6-10.8/frontenddev/5.6-10.8-frontenddev-5.6.19-20160310-141036.tar.bz2

Installing package 5.6-10.8-frontenddev into root /
Package 5.6-10.8-frontenddev is already installed at version 5.6.19-20160310-141036. You wanted to install version 5.6.19-20160310-141036.

Then when I check the version is saying version 5.4:

php -v

PHP 5.4.30 (cli) (built: Jul 29 2014 23:43:29) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.