VPS侦探论坛

 找回密码
 注册
查看: 3246|回复: 3

lnmp1.5安装失败

[复制链接]
发表于 2019-3-5 14:08:03 | 显示全部楼层 |阅读模式

群主你好,【问题描述】
lnmp1.4全部安装失败
lnmp1.5php安装失败

【系统配置】
vultr 服务器
ubuntu 18.10*64
RAM:512M
Storage:10G

全部配置都选择了最低版本,日志也已经打包上传,如果方便的话,麻烦抽空查看一下,谢谢!




【日志部分摘录】
Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of /usr/local/apache/bin/apxs follows:
./configure: 6461: ./configure: /usr/local/apache/bin/apxs: not found
configure: error: Aborting
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.
include/php.sh: line 23: pear: command not found
include/php.sh: line 24: pecl: command not found
Notice:  not found!!!download now...
--2019-03-05 12:06:57--  https://soft.vpser.net/web/zend/ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz
Resolving soft.vpser.net (soft.vpser.net)... 50.93.201.152, 2600:3c01::f03c:91ff:fe92:1a06
Connecting to soft.vpser.net (soft.vpser.net)|50.93.201.152|:443... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

    The file is already fully retrieved; nothing to do.

Create PHP Info Tool...
Copy PHP Prober...
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
include/end.sh: line 22: /etc/network/if-post-down.d/iptables: No such file or directory
chmod: cannot access '/etc/network/if-post-down.d/iptables': No such file or directory
Add Startup and Starting LAMP...
Add httpd service at system startup...
start apache... /etc/init.d/httpd: 87: /etc/init.d/httpd: /usr/local/apache/bin/httpd: not found
failed
Add mysql service at system startup...
update-rc.d: error: unable to read /etc/init.d/mysql
include/end.sh: line 94: /etc/init.d/mysql: No such file or directory
Error: Apache install failed.
Error: MySQL install failed.
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
发表于 2019-3-5 16:58:51 | 显示全部楼层


不要新版本的系统上安装非常老旧的php之类的版本
选php 5.2之类的老版本,建议选ubuntu 14.04
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2019-3-5 18:01:11 | 显示全部楼层

回复 2# 的帖子


谢谢军哥,我再试试好了。
其实我更换过很多次PHP版本,但都是安装不了,所以我才会选择最老的版本尝试。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-3-6 09:40:28 | 显示全部楼层

回复 3# 的帖子




我们这边vultr上测试过php5.6、7.x的版本没有问题
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-20 01:29 , Processed in 0.026953 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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