探索,發現,愛好、學習,記錄,分享。
學海無涯,天涯若比鄰,三人行,必有我師。

宝塔面板切换PHP或相关操作出现SITE_PHPVERSION_ERR_A22错误的解决方法

如出现下述错误:

SITE_PHPVERSION_ERR_A22,Traceback (most recent call last): File "class/flask_sockets.py", line 30, in __call__ handler, values = adapter.match() File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match raise NotFound() werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "class/panelSite.py", line 2878, in GetSitePHPVersion data['phpversion'] = public.get_site_php_version(siteName) AttributeError: module 'public' has no attribute 'get_site_php_version'

解决方法,在SSH输入:

rm -rf /www/server/panel/pyenv
curl http://download.bt.cn/install/update_panel.sh|bash

 

版權聲明:本文采用知識共享 署名4.0國際許可協議 [BY-NC-SA] 進行授權
轉載事宜:如需轉載需徵得應允,轉載必須注明來源於本站的信息。
文章名称:《宝塔面板切换PHP或相关操作出现SITE_PHPVERSION_ERR_A22错误的解决方法》
文章链接:https://www.thefreesky.com/blog/27165.html
本站資源僅供個人學習交流,請於下載後24小時內刪除,不允許用於商業用途,否則法律問題自行承擔。

評論 抢沙发