我将脚本上传到我的网站并安装了它,似乎一切正常。我使用用户名和密码“ admin”登录到https://prideleads.tk/admin_cpa/的管理面板,并收到HTTP 500错误消息,当我在php.ini中打开display_errors时,它只返回一个空白页面。因此,然后我继续检查/var/log/nginx/error.log和/var/log/php5.6-fpm.log中的日志,但两者均为空白。我所有其他站点都可以正常运行,并且该站点在主站点https://prideleads.tk/
上都可以正常运行[服务器信息] Ubuntu 20.04 LEMP(逐步进行here) 数字海洋滴
我的Nginx Server块如下所示:
server {
server_name prideleads.tk www.prideleads.tk;
root /var/www/prideleads/public;
index index.html index.htm index.php;
error_log /var/log/nginx/error.log;
location / {
try_files $uri $uri/ /index.php?q=$uri&$args;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php5.6-fpm.sock;
}
location /lnk {
rewrite ^/lnk/([A-Za-z-0-9]*)$ /download.php?file=$1;
rewrite ^/lnk/([A-Za-z-0-9]*)/([A-Za-z-0-9]*)$ /download.php?file=$1&token=$2;
}
location ~ /\.ht {
deny all;
}
}
我希望我已经提供了一些信息,使您可以开始了解如何解决此问题,以便我可以开始解决它。我觉得它应该可以在我的付费数字海洋液滴与免费的cpanel托管上正常工作?!?!