php 安装失败
make: 离开目录“/usr/local/src/lnmp1.5/src/nginx-1.14.1”chown: 正在更改"/home/wwwroot/default/.user.ini" 的所有者: 不允许的操作
mkdir: 无法创建目录"/usr/local/nginx/conf/vhost": 文件已存在
include/nginx.sh:行113: /home/wwwroot/default/.user.ini: 权限不够
chmod: 更改"/home/wwwroot/default/.user.ini" 的权限: 不允许的操作
Create PHP Info Tool...
Copy PHP Prober...
Copy Opcache Control Panel...
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx... nginx (pid 8318 8317 8316 8315 8314) already running.
Add mysql service at system startup...
Starting MySQL. ERROR! The server quit without updating PID file (/usr/local/mysql/var/localhost.localdomain.pid).
Add php-fpm service at system startup...
Starting php-fpm /etc/init.d/php-fpm:行57: /usr/local/php/sbin/php-fpm: 没有那个文件或目录
failed
============================== 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.
可以帮忙看下什么问题 /usr/local/src/lnmp1.5/src/php-5.6.36/ext/openssl/openssl.c:5436:64: 错误:提领指向不完全类型的指针
if (!pkey || EVP_PKEY_type(pkey->type) != EVP_PKEY_DH || !pkey->pkey.dh) {
^
In file included from /usr/local/src/lnmp1.5/src/php-5.6.36/Zend/zend.h:252:0,
from /usr/local/src/lnmp1.5/src/php-5.6.36/main/php.h:35,
from /usr/local/src/lnmp1.5/src/php-5.6.36/ext/openssl/openssl.c:29:
/usr/local/src/lnmp1.5/src/php-5.6.36/ext/openssl/openssl.c:5442:29: 错误:提领指向不完全类型的指针
data = emalloc(DH_size(pkey->pkey.dh) + 1);
^
/usr/local/src/lnmp1.5/src/php-5.6.36/Zend/zend_alloc.h:71:38: 附注:in definition of macro ‘emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/usr/local/src/lnmp1.5/src/php-5.6.36/ext/openssl/openssl.c:5443:54: 错误:提领指向不完全类型的指针
len = DH_compute_key((unsigned char*)data, pub, pkey->pkey.dh);
^
make: *** 错误 1
你这个系统上的openssl有可能动过不是原来的openssl而是自己升级的openssl 1.1.1版本的
你可以执行 openssl version 看一下
好的谢谢
晚上回去看看!!!!! 我就是OpenSSL 1.1.111 Sep 2018请问怎么解决?更新一下openssl?怎么单独重新安装php呢?
回复 4# 的帖子
/usr/bin/openssl versionfind / -name openssl
返回内容发一下
用lnmp 1.6安装试试
没有单独安装php的脚本,可以使用php升级脚本试试但不确定能一定可以 root@vultr:~# /usr/bin/openssl version
OpenSSL 1.1.111 Sep 2018
root@vultr:~# find / -name openssl
/etc/apparmor.d/abstractions/openssl
/usr/share/bash-completion/completions/openssl
/usr/share/lintian/overrides/openssl
/usr/share/doc/openssl
/usr/lib/python3/dist-packages/cryptography/hazmat/backends/openssl
/usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl
/usr/bin/openssl
我在另一个安装了openssl 1.1.0g版本的机子上成功了。这个openssl最新版的机子不行。
您回复真快!原本的系统( Ubuntu 18.10 (GNU/Linux 4.18.0-10-generic x86_64))删了重装。想试试1.6了,稳定性应该也不错吧?准备在线上用。 lnmp1.6在openssl1.1.1的机子上安装成功!
页:
[1]