当前位置:网站首页>CentOS installs multiple versions of PHP and switches
CentOS installs multiple versions of PHP and switches
2022-07-01 02:11:00 【A Huang Junhui a】
The same linux Multiple can be installed in the system php Version of , Installation is the usual installation
After the installation is complete , We can go to php Installation directory 
I'd like to say goodbye Installed , 7.4 Version of , and 8 Version of
php The default listening port is 9000 , If both versions are enabled , Then it will definitely conflict , therefore , I let 8 Version listening 9001 port 
stay There is one in this directory www.conf
So it was modified php8 The listening port of is 9001
When it's done , We are going to put php 8 Of bin The directory is placed in the environment variable 

stay End of file At the end of Add... At the end The upper two paragraphs
And then run source /etc/profile Make the document effective
After I finished running , Something's wrong , When I use php -v When , It's still for me php 7.4.28 Result , The problem has been solved for a long time , Just found out my /usr/bin/ There is a php The order of , It was before php7.4.28 Of , Every time it looks, it finds /usr/bin/php The order of , therefore , I put /usr/bin/php The file group was deleted , Run again srouce /etc/profile complete
after , Reuse php -v Got it. The desired result
边栏推荐
- 如何选择券商?另外,手机开户安全么?
- 522. Longest special sequence II
- SWT/ANR问题--ANR/JE引发SWT
- QML控件类型:ToolTip
- How to add a condition for an associated table in an SQL statement [null value required or not required]
- Check the disk usage of MySQL database
- Fast understanding of forward proxy and reverse proxy
- 小程序云开发之--微信公众号文章采集篇
- @The difference between configurationproperties and @value
- Log4j2 threadcontext log link tracking
猜你喜欢

QML控件类型:ToolTip

Mathematical knowledge: finding combinatorial number III - finding combinatorial number
![Pytorch - - Basic Reference North Deux élèves du secondaire peuvent comprendre [Rétropropagation et Gradient descendant]](/img/6e/279dbb7a8d7a5ecd240de464c5b8b2.png)
Pytorch - - Basic Reference North Deux élèves du secondaire peuvent comprendre [Rétropropagation et Gradient descendant]

Fast understanding of forward proxy and reverse proxy

聚焦绿色低碳,数据中心散热进入“智能冷却”新时代

CorelDRAW 2022 Chinese Simplified 64 bit direct download

(翻译)使用眉状文本提高标题点击率

(summary I) Halcon Foundation's target finding features + becoming a regular

QML control type: tooltip

Ernie gram, an explicit and complete n-gram mask language model, implements explicit n-gram semantic unit knowledge modeling.
随机推荐
SWT/ANR问题--Binder Stuck
The image variables in the Halcon variable window are not displayed, and it is useless to restart the software and the computer
Leetcode 面试题 17.10. 主要元素
What is the difference between port number and process number?
Selenium classic interview question - multi window switching solution
In the fourth week of June, the list - flying melon data up main growth ranking list (BiliBili platform) was released!
RocketQA:通过跨批次负采样(cross-batch negatives)、去噪的强负例采样(denoised hard negative sampling)与数据增强(data augment
SWT/ANR问题--Native方法执行时间过长导致SWT
C#生成putty格式的ppk文件(支持passphrase)
How to maintain efficient collaboration in remote office and achieve stable growth of projects | community essay solicitation
【agora】用户管理
Sitge joined the opengauss open source community to jointly promote the ecological development of the database industry
【做题打卡】集成每日5题分享(第一期)
Batch import of Excel data in applet
Analysis on user behavior loss of data exploration e-commerce platform
[graduation season · advanced technology Er] - summary from graduation to work
URL和URI
electron之坑addon
The whole process of AS400 API from zero to one
Clickhouse eliminates the gap caused by group by