Linux tar 解压的时候报错

报错如下:
# tar zxvf php-7.1.6.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
 
原因:
可能是由于上传的时候存现错误、
也有可能是解压文件的格式、和你 tar 的参数不一致的问题、
tar.gz 的用 tar -zxvf 解压
 
解决:
(暴力解决)
最好重新下载一个包、然后重新解压
 
原文地址:https://www.cnblogs.com/laowenBlog/p/7444629.html