vmqphp
vmqphp copied to clipboard
检测到搭建出现问题:PHP版本必须大于或等于5.6!
问题
- 检测到搭建出现问题:PHP版本必须大于或等于5.6!
运行环境
-
容器环境
-
操作系统: Debian 11 bullseye
-
Database: MariaDB 10.11.2
-
PHP: 7.2
-
Nginx: 1.18.0
数据库已经导入,且数据库权限设置正确。目录权限跟随php.ini,为755 已经测试PHP版本5.6 7.0 7.4 8.2,而且是删除web目录重新从git clone到目录
相关的Nginx配置
root /xxxxx/xxxxxx/xxxx/public;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
if (!-f $request_filename){
rewrite (.*) /index.html;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}
每次切换PHP版本均已同步修改fastcgi_pass,问题依旧。
解决了吗?兄弟,我也遇到同样的问题