为了能快速了解并处理您的问题,请提供以下基础信息: 系统版本:debian 12, openlitespeed v1.9.1, php8.2, mysql 8.4,
问题描述:一个新服务器,环境(debian 12, openlitespeed v1.9.1, php8.2, mysql 8.4, ),openlitespeed v1.9.1 下的宝塔-软件-php扩展,报错 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lsws/lsphp' 另一个服务器,环境(centos7.9 , openlitespeed v1.7.17, php8.0, mysql 5.7, )openlitespeed v1.7.17 ,正常进入软件-php扩展
相关截图(日志、错误): REQUEST_DATE: 2026-08-22 15:55:46 VERSION: Debian GNU/Linux 12 (bookworm) x86_64(Py3.7.16) - 12.0.0 REQUEST_URI: POST /ajax?action=GetPHPConfig REQUEST_FORM: {'version': '82'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36 Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2578, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2524, in run result = getattr(toObject, get.action)(get) File "/www/server/panel/class/ajax.py", line 1127, in GetPHPConfig get)['phpinfo']['modules'].lower() File "/www/server/panel/class/ajax.py", line 2053, in php_info infos=os.listdir(php_path) FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lsws/lsphp'
|
|