change php cli version for account #417

Closed
opened 2026-04-05 20:27:46 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @MwSpaceLLC on 4/14/2023

CloudPanel version(s) affected

latest | 02/03/2023

Description

Hi there, how change php cli version for account?

If we change from panel, cli not change, only web server

How to reproduce

change from panel, cli not change, only web server

Possible Solution

Interaction with change in ~/.bashrc

If user change php version, this write in ~/.bashrc

ex, change php => vrite file =>

alias php='/usr/bin/php7.4
source ~/.bashrc

image

Additional Context

No response

*Originally created by @MwSpaceLLC on 4/14/2023* ### CloudPanel version(s) affected latest | 02/03/2023 ### Description Hi there, how change php cli version for account? If we change from panel, cli not change, only web server ### How to reproduce change from panel, cli not change, only web server ### Possible Solution Interaction with change in ~/.bashrc If user change php version, this write in ~/.bashrc ex, change php => vrite file => `alias php='/usr/bin/php7.4` `source ~/.bashrc` ![image](https://user-images.githubusercontent.com/29952045/232009985-9233ac50-b419-4cff-bbe9-f94ba3088651.png) ### Additional Context _No response_
Sign in to join this conversation.