set default php version in ubuntu

------------ Set Default PHP Version 7.0 ------------
$ sudo update-alternatives --set php /usr/bin/php7.0

4.25
4

                                    update-alternatives --set php /usr/bin/php7.4
update-alternatives --set phar /usr/bin/phar7.4
update-alternatives --set phar.phar /usr/bin/phar.phar7.4
update-alternatives --set phpize /usr/bin/phpize7.4
update-alternatives --set php-config /usr/bin/php-config7.4

4.25 (4 Votes)
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
set php 7.2 as default ubuntu ubuntu set php cli version to use ubuntu change default php version ubuntu select default php version how to set default php version ubuntu ubuntu set php version default make default php 7.4 ubuntu ubuntu set php 7.4 as default ubuntu default php version change default php version ubuntu 18.04 linux change default php version how to check default php version in ubuntu ubunto set default php version default php set in ubuntu set default php version ubuntu ubuntu set default php making .php a default in ubuntu server how to set default php version in ubuntu change default php version ubuntu change php version on ubuntu how to switch to php version 7 ubuntu php switch version change php version ubuntu how can we switch to another php version select php version ubuntu ubuntu php version manager ubuntu select php version ubuntu 20 update-alternatives --config php not reflecting shift php version in ubuntu 20.04 ubuntu several php versions deactivate php change version linux linux command to set php versions commands how to slelect php version in linux linux set default php version make php 7.2 defaul ubuntu apache php version wsieth php version ubuntu swigtch between two php version on ubuntu changes from one version to another php how to disable php version 8.0 on ubuntu i have php 5.6 in /etc/php but not /usr/bin specify the version of php being installed ubuntu change default php version change defalt php version use a different version of php as default enable another version of php switch default php version update-alternatives: error: alternative /usr/bin/php7.3 for php not registered how to change php version in ubuntu how to switch php version in ubuntu linux php version management linux php version managmenr update alternatives conig php php default version change php version in ubuntu select dffault php version ubvuntuy 20 changer phpversion php linux chnage php version in ubuntu how to enable higher php version local ubuntu switch php version change php version ubntu set php version switch php version linux change php version on ubuntu from 5.6 to 7.4 cahnge active version php switch php 5 to php 7 switch between php versions in linux switch php version ubuntu ubuntu choose system php ubuntu switch php how to switch between multiple php version on ubuntu linux php active version ubuntu set default php version linux switch php version enable new php version ubuntu ubuntu 18.04 select php version change php version linux how to switch php version in ubuntu 18.04 set default php version in ubuntu sudo enmod 5.6 change php version linux change php version change version php ubuntu ubuntu change php version change linux php version ubuntu switch php version change php version ubuntu 20 linux set default php
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source