gaoxili 发表于 2021-6-8 20:27:38

lnmp1.8安装php多版本的php8.0失败 其他版本成功

军哥 给看看linux centos7.9 一键安装包lnmp1.8安装php多版本进行到php8.0安装失败。


licess 发表于 2021-6-9 08:09:04

删除重新下载新版的lnmp1.8再试一下就可以了

gaoxili 发表于 2021-6-9 14:13:06

licess 发表于 2021-6-9 08:09
删除重新下载新版的lnmp1.8再试一下就可以了



php8.0安装成功了,但选择的时候为啥没出现呢?

gaoxili 发表于 2021-6-9 15:04:54

licess 发表于 2021-6-9 08:09
删除重新下载新版的lnmp1.8再试一下就可以了

多版本php8.0应该是安装成功了吧?



Build complete.
Don't forget to run 'make test'.

Installing shared extensions:   /usr/local/php8.0/lib/php/extensions/no-debug-non-zts-20200930/
Installing PHP CLI binary:      /usr/local/php8.0/bin/
Installing PHP CLI man page:      /usr/local/php8.0/php/man/man1/
Installing PHP FPM binary:      /usr/local/php8.0/sbin/
Installing PHP FPM defconfig:   /usr/local/php8.0/etc/
Installing PHP FPM man page:      /usr/local/php8.0/php/man/man8/
Installing PHP FPM status page:   /usr/local/php8.0/php/php/fpm/
Installing phpdbg binary:         /usr/local/php8.0/bin/
Installing phpdbg man page:       /usr/local/php8.0/php/man/man1/
Installing PHP CGI binary:      /usr/local/php8.0/bin/
Installing PHP CGI man page:      /usr/local/php8.0/php/man/man1/
Installing build environment:   /usr/local/php8.0/lib/php/build/
Installing header files:          /usr/local/php8.0/include/php/
Installing helper programs:       /usr/local/php8.0/bin/
program: phpize
program: php-config
Installing man pages:             /usr/local/php8.0/php/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment:      /usr/local/php8.0/lib/php/
Archive_Tar    - installed: 1.4.9
Console_Getopt - installed: 1.4.3
Structures_Graph- installed: 1.1.1
XML_Util       - installed: 1.4.5
warning: pear/PEAR dependency package "pear/Archive_Tar" installed version 1.4.9 is not the recommended version 1.4.4
PEAR         - installed: 1.10.12
Warning! a PEAR user config file already exists from a previous PEAR installation at '/root/.pearrc'. You may probably want to remove it.
Wrote PEAR system config file at: /usr/local/php8.0/etc/pear.conf
You may want to add: /usr/local/php8.0/lib/php to your php.ini include_path
/root/lnmp1.8/src/php-8.0.6/build/shtool install -c ext/phar/phar.phar /usr/local/php8.0/bin/phar.phar
ln -s -f phar.phar /usr/local/php8.0/bin/phar
Installing PDO headers:         /usr/local/php8.0/include/php/ext/pdo/
Copy new php configure file...
Modify php.ini......
Install ZendGuardLoader for PHP 8.0...
unavailable now.
Creating new php-fpm configure file...
Copy php-fpm init.d file...
Add php-fpm8.0 service at system startup...
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|            https://lnmp.org             |
+-------------------------------------------+
Starting LNMP...
Starting nginx...done
Starting MySQL.. SUCCESS!
Starting php-fpmdone
===========================================
You have successfully install php-8.0.6 

gaoxili 发表于 2021-6-9 15:07:39

gaoxili 发表于 2021-6-9 14:13
php8.0安装成功了,但选择的时候为啥没出现呢?


和安装时选择的序号不一样

https://bbs.vpser.net/forum.php?mod=attachment&aid=NjQ4MXw0M2FiMmI2ZXwxNjIzMjIyNDgyfDE5MzQzfDI1NjU3&noupdate=yes

licess 发表于 2021-6-9 16:43:59

gaoxili 发表于 2021-6-9 15:07
和安装时选择的序号不一样

一开始就没注意过是否一致,按显示序号填就可以

可以 wget https://github.com/licess/lnmp/raw/master/conf/lnmp -O /bin/lnmp
替换一下php 8.0就可以正常显示了

gaoxili 发表于 2021-6-9 20:04:59

licess 发表于 2021-6-9 16:43
一开始就没注意过是否一致,按显示序号填就可以

可以 wget https://github.com/licess/lnmp/raw/master/ ...

感谢军大
OK了!
页: [1]
查看完整版本: lnmp1.8安装php多版本的php8.0失败 其他版本成功