zippo 发表于 2019-4-8 17:22:40

lnmp安装失败,nginx装不上

lnmp一键安装包,安装nginx失败,mysql和php都ok,apt安装方式可以安装nginx。在树莓派上安装成功了,cpu都是arm,但手机上就是安装失败

安装环境:安卓linuxdeplpy,ubuntu16最新版




licess 发表于 2019-4-8 18:11:03

arm64cpuid.S: Assembler messages:
arm64cpuid.S:4: Error: unknown architecture `armv8-a+crypto'

arm64cpuid.S:10: Error: ARM register expected -- `orr v15.16b,v15.16b,v15.16b'
arm64cpuid.S:11: Error: bad instruction `ret'
arm64cpuid.S:17: Error: ARM register expected -- `mrs x0,CNTVCT_EL0'
arm64cpuid.S:18: Error: bad instruction `ret'
arm64cpuid.S:24: Error: selected processor does not support `aese v0.16b,v0.16b' in ARM mode
arm64cpuid.S:25: Error: bad instruction `ret'
arm64cpuid.S:31: Error: selected processor does not support `sha1h s0,s0' in ARM mode
arm64cpuid.S:32: Error: bad instruction `ret'
arm64cpuid.S:38: Error: selected processor does not support `sha256su0 v0.4s,v0.4s' in ARM mode
arm64cpuid.S:39: Error: bad instruction `ret'
arm64cpuid.S:44: Error: bad instruction `pmull v0.1q,v0.1d,v0.1d'
arm64cpuid.S:45: Error: bad instruction `ret'
<builtin>: recipe for target 'arm64cpuid.o' failed
make: *** Error 1
openssl 1.0.2与aarch64可能有兼容性问题,可以尝试使用1.6安装试试或者按 https://bbs.vpser.net/thread-18295-1-1.html 这个修改试试

zippo 发表于 2019-4-9 08:42:53

licess 发表于 2019-4-8 18:11
openssl 1.0.2与aarch64可能有兼容性问题,可以尝试使用1.6安装试试或者按 https://bbs.vpser.net/thread- ...

按这个帖子改的,php和mysql异常了

root@localhost:/home/android# lnmp start
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|            https://lnmp.org             |
+-------------------------------------------+
Starting LNMP...
Starting nginx...done
Starting MySQL
.. * The server quit without updating PID file (/usr/local/mysql/var/localhost.pid).
Starting php-fpm Failed loading /usr/local/zend/ZendGuardLoader.so:/usr/local/zend/ZendGuardLoader.so: cannot open shared object file: No such file or directory
ERROR: An another FPM instance seems to already listen on /tmp/php-cgi.sock
ERROR: FPM initialization failed
failed

licess 发表于 2019-4-9 10:20:05

zippo 发表于 2019-4-9 08:42
按这个帖子改的,php和mysql异常了

root@localhost:/home/android# lnmp start


ZendGuardLoader没有arm的版本,删掉 /usr/local/php/conf.d/002-zendoptimizer.ini 就行了
mysql看安装日志是安装成功了的,启动失败得看mysql错误日志

zippo 发表于 2019-4-10 00:01:16

本帖最后由 zippo 于 2019-4-10 00:03 编辑

谢谢,都搞定了。这里有详细的步骤http://laoroc.com/?p=309
页: [1]
查看完整版本: lnmp安装失败,nginx装不上