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 Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.