VPS侦探论坛

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

安装 lnmp1.5 时 开启了Enable_php_fileinfo,还是没安装上

[复制链接]
发表于 2018-1-29 16:17:35 | 显示全部楼层 |阅读模式

军哥你好,我安装 lnmp1.5 时把  Enable_PHP_Fileinfo='y' 这样设置的。可是我用 composer 时依然提示没有 fileinfo 扩展,这是怎么回事?
  1. Problem 1
  2.     - Installation request for intervention/image 2.4.1 -> satisfiable by intervention/image[2.4.1].
  3.     - intervention/image 2.4.1 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
复制代码
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2018-1-29 17:28:44 | 显示全部楼层


安装前改成 y 就可以的,必须是小写y有其他字符或是大写都不行的,你是什么环境,发安装日志看一下
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2018-1-29 17:51:24 | 显示全部楼层

回复 2# 的帖子


我就是改的小写的y.我的是 centos6 .安装日志
  1. Press any key to install...or Press Ctrl+c to cancel

  2. You will install lnmp stack.
  3. nginx-1.12.2
  4. mysql-5.5.58
  5. php-7.2.1
  6. Enable InnoDB: y
  7. Print lnmp.conf infomation...
  8. Download Mirror: https://soft.vpser.net
  9. Nginx Additional Modules:
  10. PHP Additional Modules:
  11. Database Directory: /usr/local/mysql/var
  12. Default Website Directory: /home/wwwroot/default
  13. CentOS 6.5
  14. CentOS release 6.5 (Final)
  15. Kernel \r on an \m

  16. CentOS release 6.5 (Final)
  17. CentOS release 6.5 (Final)
  18. CentOS release 6.5 (Final)
  19. Linux BluevioletObedient-VM 2.6.32-042stab127.2 #1 SMP Thu Jan 4 16:41:44 MSK 2018 x86_64 x86_64 x86_64 GNU/Linux
  20. Memory is: 1024 MB
  21. Filesystem         Size  Used Avail Use% Mounted on
  22. /dev/ploop49615p1   30G  678M   28G   3% /
  23. none               512M  4.0K  512M   1% /dev
  24. none               512M     0  512M   0% /dev/shm
  25. Hosts: ok.
  26. PING lnmp.org (168.235.75.115) 56(84) bytes of data.
  27. 64 bytes from 168.235.75.115: icmp_seq=1 ttl=54 time=97.1 ms

  28. --- lnmp.org ping statistics ---
  29. 1 packets transmitted, 1 received, 0% packet loss, time 130ms
  30. rtt min/avg/max/mdev = 97.179/97.179/97.179/0.000 ms
  31. DNS...ok
  32. Server Location: US
  33. Setting timezone...
  34. [+] Installing ntp...
  35. Loaded plugins: fastestmirror
  36. Setting up Install Process
  37. Resolving Dependencies
  38. --> Running transaction check
  39. ---> Package ntp.x86_64 0:4.2.6p5-12.el6.centos.2 will be installed
  40. --> Processing Dependency: ntpdate = 4.2.6p5-12.el6.centos.2 for package: ntp-4.2.6p5-12.el6.centos.2.x86_64
  41. --> Running transaction check
  42. ---> Package ntpdate.x86_64 0:4.2.6p5-12.el6.centos.2 will be installed
  43. --> Finished Dependency Resolution

  44. Dependencies Resolved

  45. ================================================================================
  46. Package       Arch         Version                         Repository     Size
  47. ================================================================================
  48. Installing:
  49. ntp           x86_64       4.2.6p5-12.el6.centos.2         updates       600 k
  50. Installing for dependencies:
  51. ntpdate       x86_64       4.2.6p5-12.el6.centos.2         updates        79 k

  52. Transaction Summary
  53. ================================================================================
  54. Install       2 Package(s)

  55. Total download size: 679 k
  56. Installed size: 1.8 M
  57. Downloading Packages:
  58. --------------------------------------------------------------------------------
  59. Total                                           3.6 MB/s | 679 kB     00:00     
  60. warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
  61. Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
  62. Importing GPG key 0xC105B9DE:
  63. Userid : CentOS-6 Key (CentOS 6 Official Signing Key)
  64. Package: centos-release-6-5.el6.centos.11.2.x86_64 (installed)
  65. From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
  66. Running rpm_check_debug
  67. Running Transaction Test
  68. Transaction Test Succeeded
  69. Running Transaction

  70.   Installing : ntpdate-4.2.6p5-12.el6.centos.2.x86_64                       1/2

  71.   Installing : ntp-4.2.6p5-12.el6.centos.2.x86_64                           2/2

  72.   Verifying  : ntpdate-4.2.6p5-12.el6.centos.2.x86_64                       1/2

  73.   Verifying  : ntp-4.2.6p5-12.el6.centos.2.x86_64                           2/2

  74. Installed:
  75.   ntp.x86_64 0:4.2.6p5-12.el6.centos.2                                          

  76. Dependency Installed:
  77.   ntpdate.x86_64 0:4.2.6p5-12.el6.centos.2                                      

  78. Complete!
  79. 29 Jan 14:29:15 ntpdate[648]: Can't adjust the time of day: Operation not permitted
  80. Mon Jan 29 14:29:15 CST 2018
  81. [-] Yum remove packages...
  82. httpd-tools-2.2.15-30.el6.centos.x86_64
  83. httpd-2.2.15-30.el6.centos.x86_64
  84. warning: /etc/httpd/conf/httpd.conf saved as /etc/httpd/conf/httpd.conf.rpmsave
  85. error: package mysql is not installed
  86. error: package mysql-libs is not installed
  87. error: package php-mysql is not installed
  88. error: package php-cli is not installed
  89. error: package php-gd is not installed
  90. error: package php-common is not installed
  91. error: package php is not installed
  92. Loaded plugins: fastestmirror
  93. Setting up Remove Process
  94. No Match for argument: httpd*
  95. Determining fastest mirrors
  96. * base: mirrors.mit.edu
  97. * extras: mirrors.seas.harvard.edu
  98. * updates: centos.mirror.constant.com
  99. Package(s) httpd* available, but not installed.
  100. No Packages marked for removal
  101. Loaded plugins: fastestmirror
  102. Setting up Remove Process
  103. No Match for argument: mysql-server
  104. Loading mirror speeds from cached hostfile
  105. * base: mirrors.mit.edu
  106. * extras: mirrors.seas.harvard.edu
  107. * updates: centos.mirror.constant.com
  108. Package(s) mysql-server available, but not installed.
  109. No Match for argument: mysql
  110. Package(s) mysql available, but not installed.
  111. No Match for argument: mysql-libs
  112. Package(s) mysql-libs available, but not installed.
  113. No Packages marked for removal
  114. Loaded plugins: fastestmirror
  115. Setting up Remove Process
  116. No Match for argument: php*
  117. Loading mirror speeds from cached hostfile
  118. * base: mirrors.mit.edu
  119. * extras: mirrors.seas.harvard.edu
  120. * updates: centos.mirror.constant.com
  121. Package(s) php* available, but not installed.
  122. No Packages marked for removal
  123. Loaded plugins: fastestmirror
  124. Cleaning repos: base extras updates vz-base vz-updates
  125. Cleaning up Everything
  126. Cleaning up list of fastest mirrors
  127. [+] Yum installing dependent packages...
  128. Loaded plugins: fastestmirror
  129. Determining fastest mirrors
  130. * base: mirror.net.cen.ct.gov
  131. * extras: mirrors.seas.harvard.edu
  132. * updates: centos.mirror.constant.com
  133. Setting up Install Process
  134. Resolving Dependencies
  135. --> Running transaction check
  136. ---> Package make.x86_64 1:3.81-20.el6 will be updated
  137. ---> Packag
复制代码

[ 本帖最后由 xiaochunhao 于 2018-1-29 18:12 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2018-1-30 09:31:11 | 显示全部楼层



php -m 看一下

我们这边上线功能前centos、debian、ubuntu 等发行版都测试过,centos6再测试也都是正常的
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-24 17:10 , Processed in 0.027820 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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