Home  >  Article  >  Backend Development  >  php ubuntu multi-version switching

php ubuntu multi-version switching

不言
不言Original
2018-04-18 13:57:071711browse

This article mainly introduces the multi-version switching of php ubuntu. It has certain reference value. Now I share it with everyone. Friends in need can refer to it.

There are several php versions installed in the system, but php -cli has always been something I wanted to switch. I used to think about modifying environment variables

I saw a good switching version of the command

update-alternatives --config php

Perfect switching

The above is the detailed content of php ubuntu multi-version switching. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn