树莓派3B安装lnmp,提示php安装失败
安装的系统为的2017-08-16-raspbian-stretch-liteRaspbian 9.1Raspbian GNU/Linux 9 \n \l
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Linux raspberrypi 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux
Memory is: 927 MB
Filesystem SizeUsed Avail Use% Mounted on
/dev/root 29G2.0G 26G 8% /
devtmpfs 460M 0460M 0% /dev
tmpfs 464M 0464M 0% /dev/shm
tmpfs 464M 12M452M 3% /run
tmpfs 5.0M4.0K5.0M 1% /run/lock
tmpfs 464M 0464M 0% /sys/fs/cgroup
/dev/mmcblk0p1 42M 21M 21M51% /boot
tmpfs 93M 0 93M 0% /run/user/1000
Hosts: ok.
PING lnmp.org (103.192.224.173) 56(84) bytes of data.
64 bytes from 103.192.224.173.static.xtom.io (103.192.224.173): icmp_seq=1 ttl=48 time=57.9 ms
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx...done
Add mysql service at system startup...
Starting mysql (via systemctl): mysql.service.
Add php-fpm service at system startup...
update-rc.d: error: initscript does not exist: /etc/init.d/php-fpm
include/end.sh: line 54: /etc/init.d/php-fpm: No such file or directory
============================== Check install ==============================
Checking ...
[0;32mNginx: OK[0m
[0;32mMySQL: OK[0m
[0;31mError: PHP install failed.[0m
[0;31mSorry, Failed to install LNMP![0m
[0;31mPlease visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.[0m
[0;31mYou can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.[0m 看一下是否有 /usr/include/arm-linux-gnueabihf/ 目录
有的话 ln -sf /usr/include/arm-linux-gnueabihf/curl /usr/include/ 再重新安装应该就可以了
只在内网使用,可以不绑定域名吗?
我没有域名,而且只在内网使用,可以不绑域名创建虚拟主机吗?回复 3# 的帖子
lnmp vhost add 添加就必须输入域名,域名可以随便输入,自己本机上hosts绑定就可以了也可以直接在默认目录下建站
页:
[1]