Nextcloud – 推荐nginx config
*记住取消exec限制在php中 推荐nginx config server { listen 80; listen 443 ssl http2; listen [::]:443 ssl http2; listen [::]:80; server_name *********; index …
*记住取消exec限制在php中 推荐nginx config server { listen 80; listen 443 ssl http2; listen [::]:443 ssl http2; listen [::]:80; server_name *********; index …
在PHP的php-fpm.conf 添加一行 env[PATH] = /usr/local/bin:/usr/bin:/bin:/usr/local/php/bin
1.打开cron任务,使用用户www crontab -u www -e 2.添加cron, 每5分钟执行一次 */5 * * * * php -f /www/wwwroot/nextcloud/cron.php 3.验证 crontab -u www -l …