Home > Backend Development > PHP Tutorial > php ubuntu multi-version switching

php ubuntu multi-version switching

不言
Release: 2023-03-24 10:22:01
Original
1767 people have browsed it

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template