ulikestyle 发表于 2019-6-22 03:31:13

深度deepin lnmp1.6 php7.3.6 安装失败但是nginx mysql5.7 安装成功...

深度deepin lnmp1.6php7.3.6 安装失败但是nginx mysql5.7 安装成功...
老大,帮忙分析下



Press any key to install...or Press Ctrl+c to cancel

You will install lnmp stack.
nginx-1.16.0
mysql-5.7.26
php-7.3.6
Enable InnoDB: y
Print lnmp.conf infomation...
Download Mirror: https://soft.vpser.net
Nginx Additional Modules:
PHP Additional Modules:
Database Directory: /usr/local/mysql/var
Default Website Directory: /home/wwwroot/default
LNMP Version: 1.6
Deepin 15.10.1
Deepin GNU/Linux 15.10.1 \n \l

DISTRIB_ID=Deepin
DISTRIB_RELEASE="15.10.1"
DISTRIB_DESCRIPTION="Deepin 15.10.1 "
DISTRIB_CODENAME=stable
PRETTY_NAME="Deepin 15"
NAME="Deepin"
VERSION_ID="15.10.1"
VERSION="15.10.1"
ID=deepin
HOME_URL="https://www.deepin.org/"
BUG_REPORT_URL="http://feedback.deepin.org/feedback/"
Linux bada-PC 4.15.0-30deepin-generic #31 SMP Fri Nov 30 04:29:02 UTC 2018 x86_64 GNU/Linux


------ 文件太大了,上传不了啊军哥

ulikestyle 发表于 2019-6-22 03:34:21

军哥,我粘贴上从日志文件里搜索PHP相关段落给你看下


bada@bada-PC:~$ cat lnmp-install.log |grep php
php-7.3.6
软件包 php5 未安装,所以不会被卸载
软件包 php5-common 未安装,所以不会被卸载
软件包 php5-cgi 未安装,所以不会被卸载
软件包 php5-cli 未安装,所以不会被卸载
软件包 php5-mysql 未安装,所以不会被卸载
软件包 php5-curl 未安装,所以不会被卸载
软件包 php5-gd 未安装,所以不会被卸载
dpkg: 警告: 忽略删除 php5 的要求,系统没有安装该软件包
dpkg: 警告: 忽略删除 php5-common 的要求,系统没有安装该软件包
dpkg: 警告: 忽略删除 php5-cli 的要求,系统没有安装该软件包
dpkg: 警告: 忽略删除 php5-cgi 的要求,系统没有安装该软件包
dpkg: 警告: 忽略删除 php5-mysql 的要求,系统没有安装该软件包
dpkg: 警告: 忽略删除 php5-curl 的要求,系统没有安装该软件包
dpkg: 警告: 忽略删除 php5-gd 的要求,系统没有安装该软件包
Notice: php-7.3.6.tar.bz2 not found!!!download now...
--2019-06-21 17:57:54--https://soft.vpser.net/web/php/php-7.3.6.tar.bz2
位置:http://175.6.32.4:88/soft/web/php/php-7.3.6.tar.bz2 [跟随至新的 URL]
--2019-06-21 17:57:55--http://175.6.32.4:88/soft/web/php/php-7.3.6.tar.bz2
正在保存至: “php-7.3.6.tar.bz2”
php-7.3.6.tar.bz2   100%[===================>]14.15M3.69MB/s用时 4.3s   
2019-06-21 17:57:59 (3.30 MB/s) - 已保存 “php-7.3.6.tar.bz2” )
Notice: phpMyAdmin-4.8.5-all-languages.tar.xz not found!!!download now...
--2019-06-21 17:57:59--https://soft.vpser.net/datebase/phpmyadmin/phpMyAdmin-4.8.5-all-languages.tar.xz
位置:http://175.6.32.4:88/soft/datebase/phpmyadmin/phpMyAdmin-4.8.5-all-languages.tar.xz [跟随至新的 URL]
--2019-06-21 17:57:59--http://175.6.32.4:88/soft/datebase/phpmyadmin/phpMyAdmin-4.8.5-all-languages.tar.xz
正在保存至: “phpMyAdmin-4.8.5-all-languages.tar.xz”
phpMyAdmin-4.8.5-al 100%[===================>]   5.75M1.02MB/s用时 5.6s   
2019-06-21 17:58:05 (1.02 MB/s) - 已保存 “phpMyAdmin-4.8.5-all-languages.tar.xz” )
[+] Installing php-7.3.6
Uncompress php-7.3.6.tar.bz2...
cd php-7.3.6...
checking for phpdbg support... yes
checking for phpdbg web SAPI support... no
checking for phpdbg debug build... no
checking for phpdbg readline support... no
checking for phpdbg and readline integration... disabled
checking for executable SAPI binaries...cli fpm phpdbg cgi
checking path to configuration file... /usr/local/php/etc
checking where to scan for configuration files... /usr/local/php/conf.d
Copy new php configure file...
Modify php.ini......
include/php.sh:行86: pear: 未找到命令
include/php.sh:行87: pecl: 未找到命令
include/php.sh:行92: php: 未找到命令
Creating new php-fpm configure file...
Copy php-fpm init.d file...
cp: 无法获取'/home/bada/Downloads/application/lnmp1.6/src/php-7.3.6/sapi/fpm/init.d.php-fpm' 的文件状态(stat): 没有那个文件或目录
chmod: 无法访问'/etc/init.d/php-fpm': 没有那个文件或目录
============================phpMyAdmin install completed=======================
Add php-fpm service at system startup...
update-rc.d: error: initscript does not exist: /etc/init.d/php-fpm
include/end.sh:行56: /etc/init.d/php-fpm: 没有那个文件或目录
bada@bada-PC:~$


licess 发表于 2019-6-22 09:27:23

你贴出来的没有有用的信息,按反馈必读要求上传日志

ulikestyle 发表于 2019-6-24 14:57:47

老大,安装日志文件已上传,麻烦帮忙排查下,辛苦啦!

licess 发表于 2019-6-24 15:41:16

ulikestyle 发表于 2019-6-24 14:57
老大,安装日志文件已上传,麻烦帮忙排查下,辛苦啦!
正在读取软件包列表...
正在分析软件包的依赖关系树...
正在读取状态信息...
有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们已被从新到(Incoming)目录移出。
下列信息可能会对解决问题有所帮助:

下列软件包有未满足的依赖关系:
libssl-dev : 依赖: libssl1.1 (= 1.1.0h-4) 但是 1.1.0j-1~deb9u1 正要被安装
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
。。。。。。
正在读取软件包列表...
正在分析软件包的依赖关系树...
正在读取状态信息...
有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们已被从新到(Incoming)目录移出。
下列信息可能会对解决问题有所帮助:

下列软件包有未满足的依赖关系:
libc-client2007e-dev : 依赖: libssl-dev 但是它将不会被安装
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
几个软件包依赖关系有问题导致的

可以尝试使用 aptitude install libssl-dev 修正,修改成功后再重新安装

ulikestyle 发表于 2019-6-24 16:44:52

licess 发表于 2019-6-24 15:41
几个软件包依赖关系有问题导致的

可以尝试使用 aptitude install libssl-dev 修正,修改成功后再重新安 ...

谢谢,我解决下依赖看看

ulikestyle 发表于 2019-6-24 17:38:36

licess 发表于 2019-6-24 15:41
几个软件包依赖关系有问题导致的

可以尝试使用 aptitude install libssl-dev 修正,修改成功后再重新安 ...

感谢老大,已安装OK!


============================== Check install ==============================
Checking ...
Nginx: OK
MySQL: OK
PHP: OK
PHP-FPM: OK
Clean Web Server src directory...
+------------------------------------------------------------------------+
|          LNMP V1.6 for Deepin Linux Server, Written by Licess          |
+------------------------------------------------------------------------+
|         For more information please visit https://lnmp.org         |
+------------------------------------------------------------------------+
|    lnmp status manage: lnmp {start|stop|reload|restart|kill|status}    |
+------------------------------------------------------------------------+
|phpMyAdmin: http://IP/phpmyadmin/                                     |
|phpinfo: http://IP/phpinfo.php                                        |
|Prober:http://IP/p.php                                              |
+------------------------------------------------------------------------+
|Add VirtualHost: lnmp vhost add                                       |
+------------------------------------------------------------------------+
|Default directory: /home/wwwroot/default                              |
+------------------------------------------------------------------------+
|MySQL/MariaDB root password: 123456                        |
+------------------------------------------------------------------------+
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|            https://lnmp.org             |
+-------------------------------------------+
nginx (pid 8076) is running...
php-fpm is runing!
● mysql.service - LSB: start and stop MySQL
   Loaded: loaded (/etc/init.d/mysql; generated; vendor preset: enabled)
   Active: active (running) since Mon 2019-06-24 17:37:57 CST; 334ms ago
   Docs: man:systemd-sysv-generator(8)
   CGroup: /system.slice/mysql.service
         ├─8117 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/var --pid-file=/usr/local/mysql/var/bada-PC.pid
         └─8648 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=bada-PC.err --open-files-limit=65535 --pid-file=/usr/local/mysql/var/bada-PC.pid --socket=/tmp/mysql.sock --port=3306

6月 24 17:37:55 bada-PC systemd: Starting LSB: start and stop MySQL...
6月 24 17:37:55 bada-PC mysql: Starting MySQL
6月 24 17:37:57 bada-PC mysql: ..
6月 24 17:37:57 bada-PC systemd: Started LSB: start and stop MySQL.
State      Recv-Q Send-Q Local Address:Port               Peer Address:Port            
LISTEN   0      50         *:139                      *:*                  
LISTEN   0      511          *:80                     *:*                  
LISTEN   0      511          *:80                     *:*                  
LISTEN   0      511          *:80                     *:*                  
LISTEN   0      511          *:80                     *:*                  
LISTEN   0      5      127.0.0.1:631                      *:*                  
LISTEN   0      50         *:445                      *:*                  
LISTEN   0      150         :::3306                  :::*                  
LISTEN   0      50          :::139                     :::*                  
LISTEN   0      5          ::1:631                     :::*                  
LISTEN   0      50          :::445                     :::*                  
Install lnmp takes 22 minutes.
Install lnmp V1.6 completed! enjoy it.
页: [1]
查看完整版本: 深度deepin lnmp1.6 php7.3.6 安装失败但是nginx mysql5.7 安装成功...