2716xzw 发表于 2016-12-17 20:37:01

lnmp1.4安装php5.3失败

默认先安装的php5.5,然后用install.sh mphp时,php5.3安装失败

2716xzw 发表于 2016-12-17 20:46:06

重新安装php时。提示已存在


You have 6 options for your PHP install.
1: Install PHP 5.2.17
2: Install PHP 5.3.29
3: Install PHP 5.4.45
4: Install PHP 5.5.38
5: Install PHP 5.6.29
6: Install PHP 7.0.14
7: Install PHP 7.1.0
Enter your choice (1, 2, 3, 4, 5, 6 or 7): 2
You will install PHP 5.3.29

Press any key to install...or Press Ctrl+c to cancel

php-5.3.29 already exists!

TMD 发表于 2016-12-18 00:22:29

我的也是这个问题!
不知道如何解决?

licess 发表于 2016-12-18 20:08:49

Uncompress php-5.3.29.tar.bz2...

bzip2: Compressed file ends unexpectedly;
        perhaps it is corrupted?*Possible* reason follows.
bzip2: Inappropriate ioctl for device
        Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
文件不完整或损害,删除src/目录下的php源码文件,让他重新下载试试

如果已经存在目录就提示存在。你可以自己先删除
页: [1]
查看完整版本: lnmp1.4安装php5.3失败