产品服务AMH 免费服务器主机面板SSL证书 免费SSL证书申请编程助手免费智能写代码、翻译NewAMYSQL 免费MySQL管理工具AMFTP 免费FTP管理客户端

AMH 社区首页

 AMH社区 - 开放自由有价值的社区

[求助帖] 安装PHP5.5报错,麻烦帮忙看下什么原因

yuqiang150
铁牌会员
27.00 价值分

yuqiang150 发表于 2017-02-05 14:27:23
groupadd: group 'www' already exists
useradd: user 'www' already exists
/root/amh/modules/php-5.5/AMHScript: line 108: ./configure: Permission denied
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
mkdir: cannot create directory `/usr/local/php-5.5/var/run/pid': No such file or directory
mv: cannot move `/tmp/ext' to `/usr/local/php-5.5/extcode': No such file or directory
[Notice] php-5.5 is not installed.
评价: 这个问题有价值吗?  没有 (0分)   有, 感谢 (0分)
2017-02-05 14:27:23 1

shiguo
铝牌会员
410.08 价值分

No targets specified and no makefile found.
这个报错是说没有发现makefile文件,就是说没有找到makefile!你在使用make命令编译源码的时候要注意,一定要利用cd命令切换到源码所在的路径,然后再make,比如源码在/temp目录下,那就要使用cd /temp,切换工作目录到/temp目录下!
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (3.2分)
回复  2017-02-05 14:31:04 2

shiguo
铝牌会员
410.08 价值分

mkdir: cannot create directory `/usr/local/php-5.5/var/run/pid': No such file or directory
mv: cannot move `/tmp/ext' to `/usr/local/php-5.5/extcode': No such file or directory
这两个错误目测也是没切换到源码所在的路径造成的。
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2017-02-05 14:35:00 3

yuqiang150
铁牌会员
27.00 价值分

引用:
shiguo 发表于 2017-02-05 14:31:04
No targets specified and no makefile found.
这个报错是说没有发现makefile文件,就是说没有找到makefile!你在使用make命令编译源码的时候要注...

我是直接后台安装的,这个要怎么办啊?
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2017-02-05 14:41:51 4

yuqiang150
铁牌会员
27.00 价值分

引用:
shiguo 发表于 2017-02-05 14:35:00
mkdir: cannot create directory `/usr/local/php-5.5/var/run/pid': No such file or directory
mv: canno...

已经找到原因了,原来是服务器的云锁拦截了,安装不了,我把云锁的防护全关了就可以了、
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2017-02-05 14:47:57 5

shiguo
铝牌会员
410.08 价值分

引用:
yuqiang150 发表于 2017-02-05 14:47:57
已经找到原因了,原来是服务器的云锁拦截了,安装不了,我把云锁的防护全关了就可以了、

解决了就好。
configure: Permission denied
配置:拒绝权限
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2017-02-05 14:57:49 6

lovem
银牌会员
2685.50 价值分

Permission denied被禁了权限
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2017-02-05 20:40:29 7
 1  (总1页)
AMH社区列表
用户服务中心