VPS侦探论坛

 找回密码
 注册
查看: 5012|回复: 2

1nmp1.2 树莓派3 centos7安装php失败,求助军哥

[复制链接]
发表于 2016-4-30 03:15:56 | 显示全部楼层 |阅读模式

1nmp1.2  树莓派3 centos7安装php失败,求助军哥看日志是权限不够,请问军哥怎么解决,谢谢


cp -R html '/usr/local/nginx'
test -d '/usr/local/nginx/logs' ||
mkdir -p '/usr/local/nginx/logs'
make[1]: 离开目录“/root/lnmp1.2-full/src/nginx-1.8.0”
chown: 正在更改"/home/wwwroot/default/.user.ini" 的所有者: 不允许的操作
mkdir: 无法创建目录"/usr/local/nginx/conf/vhost": 文件已存在
include/nginx.sh:行54: /home/wwwroot/default/.user.ini: 权限不够
chmod: 更改"/home/wwwroot/default/.user.ini" 的权限: 不允许的操作
Create PHP Info Tool...
Copy PHP Prober...
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
iptables: Saving firewall rules to /etc/sysconfig/iptables: [  OK  ]
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx... nginx (pid 5324 5323 5322 5321 5320) already running.
Add mysql service at system startup...
Starting MySQL.... SUCCESS!
Add php-fpm service at system startup...
服务 php-fpm 信息读取出错:没有那个文件或目录
服务 php-fpm 信息读取出错:没有那个文件或目录
include/end.sh:行19: /etc/init.d/php-fpm: 没有那个文件或目录
============================== Check install ==============================
Checking ...
Nginx: OK
MySQL: OK
Error: PHP install failed.
Sorry,Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-4-30 09:21:36 | 显示全部楼层
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-4-30 17:46:11 | 显示全部楼层

感谢您的帮助
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-3-29 08:39 , Processed in 0.027959 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表