Home >Topics >Pagoda Panel >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!
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.
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!