search
HomeTopicsPagoda PanelHow to switch the default PHP version in Pagoda Panel

The following is the Pagoda Paneltutorial column to introduce to you how to switch the default PHP version of the Pagoda Panel. I hope it will be helpful to friends in need!

How to switch the default PHP version in Pagoda Panel

Pagoda panel switches the default PHP version

1. Situation description:

When I executed composer install, I was prompted that the PHP version was too low. I checked the PHP versions of the Pagoda Panel and found that there were two, one 5.6 and one 7.3. Although the php5.6 version has been suspended, executing composer install still prompts that the version is too low.

2. Solution:
1.rm -f /usr/bin/php 
//删除默认的配置
2.将默认版本修改成想要的版本,如:7.3
ln -sf /www/server/php/73/bin/php /usr/bin/php

ps: Do not trust any rm -f command easily. Unless you are very familiar with it, do not use the rm -f command easily. ! ! !                                                                                                                                                                     #

The above is the detailed content of How to switch the default PHP version in Pagoda Panel. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:learnku. If there is any infringement, please contact admin@php.cn delete

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)