
curl 未开启,请先开启curl扩展,否则无法运行,请联系您的空间或者服务器提供商
ubuntu php安装curl扩展
apt-cache search curl | grep php
查询curl的php支持名字,可能会返回如下内容:

安装:
sudo apt-get install php7.0-curl
重启apache
sudo apache2ctl restart
mbstring 未开启,请先开启mbstring扩展,否则无法运行
sudo apt-get install php-mbstring
sudo apachectl restart
cache 无效,请先设置目录读写权限,请联系您的空间或者服务器提供商
cd /var/www/html/
mkdir cache
chmod 777 cache
重新访问连接下载数据即可
它在linux系统中的身份为"www-data:www-data"。
但在linux中/var/www的用户为root,所以会导致上传失败。
chown www-data:www-data -R /var/www/
网友评论