How 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!
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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

This article uses the Pagoda Panel Tutorial column to introduce to you the problem that server2022 cannot be remote after installing Pagoda. I wonder if you have encountered such a problem? Let me show you how I handle it!

Pagoda Panel is a very excellent server management panel under Linux system. It has powerful functions and friendly interface, which can help users manage servers easily. In the process of using the Pagoda Panel, it is sometimes necessary to limit the speed of the virtual host to ensure the stability and fluency of the server. This article will introduce how to set the speed limit of the virtual host through the Pagoda panel to achieve a good user experience. 1. Overview of Speed Limit Speed limit refers to limiting the host bandwidth and ensuring the normal operation of the server by controlling the host traffic. exist

Solution to the error reported when deploying thinkphp5 in Pagoda: 1. Open the Pagoda server, install the php pathinfo extension and enable it; 2. Configure the ".access" file with the content "RewriteRule ^(.*)$ index.php?s=/$1 [QSA ,PT,L]”; 3. In website management, just enable thinkphp’s pseudo-static.

Introduction to the WebDAV file management function of Pagoda Panel WebDAV is a file management technology based on the HTTP protocol. It allows users to access files on the network through the HTTP protocol and manage these files. With the support of WebDAV technology, we can build a Web server to provide various network services. Pagoda Panel is a popular web server management tool that provides a wealth of functional modules, among which the WebDAV file management function is one of them. Below, this article

With the development and popularization of the Internet, domain names have become an indispensable part of our online world. However, many people are still confused about the settings of domain name resolution. Today, we will introduce how to use the Pagoda panel to set up domain name resolution. What is DNS? Domain name resolution is the process of binding a domain name to the IP address of the website or server it represents. It is a process that converts human-readable domain names into computer-readable IP addresses. The main components of domain name resolution are: domain name registration, DNS resolution and we

Pagoda Panel is a powerful panel software that can help us quickly deploy, manage and monitor servers, especially small businesses or individual users who often need to build websites, database management and server maintenance. Among these tasks, MySQL database management is an important job in many cases. So how to use the Pagoda panel for MySQL management? Next, we will introduce it step by step. Step 1: Install Pagoda Panel. Before starting to use Pagoda Panel for MySQL management, you first need to install Pagoda Panel.

Pagoda BT Panel is a very practical server management tool that can help users quickly build and manage their own servers. As a very practical tool, Pagoda BT Panel is currently one of the most popular server management software. However, some people may ask, can the Pagoda BT panel install multiple PHP versions at the same time? Below, we will discuss this issue.

Pagoda Panel is a powerful server management tool that saves server administrators a lot of time and energy. Among them, the SSH management function of the Pagoda panel is particularly important. It can easily and quickly connect to the server remotely to perform file uploads, operation commands and other operations. This article will introduce the SSH management function of Pagoda Panel in detail. 1. What is SSH? SSH is the abbreviation of SecureShell (Secure Shell Protocol). It is an encrypted network protocol designed to provide safe and reliable remote login and other network services. make
