安装 lnmp1.5 时 开启了Enable_php_fileinfo,还是没安装上
军哥你好,我安装 lnmp1.5 时把Enable_PHP_Fileinfo='y' 这样设置的。可是我用 composer 时依然提示没有 fileinfo 扩展,这是怎么回事?Problem 1- Installation request for intervention/image 2.4.1 -> satisfiable by intervention/image.
- intervention/image 2.4.1 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. 安装前改成 y 就可以的,必须是小写y有其他字符或是大写都不行的,你是什么环境,发安装日志看一下
回复 2# 的帖子
我就是改的小写的y.我的是 centos6 .安装日志[0;32mPress any key to install...or Press Ctrl+c to cancel[0mYou will install lnmp stack.
nginx-1.12.2
mysql-5.5.58
php-7.2.1
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
CentOS 6.5
CentOS release 6.5 (Final)
Kernel \r on an \m
CentOS release 6.5 (Final)
CentOS release 6.5 (Final)
CentOS release 6.5 (Final)
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
Memory is: 1024 MB
Filesystem SizeUsed Avail Use% Mounted on
/dev/ploop49615p1 30G678M 28G 3% /
none 512M4.0K512M 1% /dev
none 512M 0512M 0% /dev/shm
Hosts: ok.
PING lnmp.org (168.235.75.115) 56(84) bytes of data.
64 bytes from 168.235.75.115: icmp_seq=1 ttl=54 time=97.1 ms
--- lnmp.org ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 130ms
rtt min/avg/max/mdev = 97.179/97.179/97.179/0.000 ms
DNS...ok
Server Location: US
[0;34mSetting timezone...[0m
Installing ntp...[0m
Loaded plugins: fastestmirror
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ntp.x86_64 0:4.2.6p5-12.el6.centos.2 will be installed
--> Processing Dependency: ntpdate = 4.2.6p5-12.el6.centos.2 for package: ntp-4.2.6p5-12.el6.centos.2.x86_64
--> Running transaction check
---> Package ntpdate.x86_64 0:4.2.6p5-12.el6.centos.2 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
ntp x86_64 4.2.6p5-12.el6.centos.2 updates 600 k
Installing for dependencies:
ntpdate x86_64 4.2.6p5-12.el6.centos.2 updates 79 k
Transaction Summary
================================================================================
Install 2 Package(s)
Total download size: 679 k
Installed size: 1.8 M
Downloading Packages:
--------------------------------------------------------------------------------
Total 3.6 MB/s | 679 kB 00:00
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Importing GPG key 0xC105B9DE:
Userid : CentOS-6 Key (CentOS 6 Official Signing Key)
Package: centos-release-6-5.el6.centos.11.2.x86_64 (installed)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : ntpdate-4.2.6p5-12.el6.centos.2.x86_64 1/2
Installing : ntp-4.2.6p5-12.el6.centos.2.x86_64 2/2
Verifying: ntpdate-4.2.6p5-12.el6.centos.2.x86_64 1/2
Verifying: ntp-4.2.6p5-12.el6.centos.2.x86_64 2/2
Installed:
ntp.x86_64 0:4.2.6p5-12.el6.centos.2
Dependency Installed:
ntpdate.x86_64 0:4.2.6p5-12.el6.centos.2
Complete!
29 Jan 14:29:15 ntpdate: Can't adjust the time of day: Operation not permitted
Mon Jan 29 14:29:15 CST 2018
Yum remove packages...[0m
httpd-tools-2.2.15-30.el6.centos.x86_64
httpd-2.2.15-30.el6.centos.x86_64
warning: /etc/httpd/conf/httpd.conf saved as /etc/httpd/conf/httpd.conf.rpmsave
error: package mysql is not installed
error: package mysql-libs is not installed
error: package php-mysql is not installed
error: package php-cli is not installed
error: package php-gd is not installed
error: package php-common is not installed
error: package php is not installed
Loaded plugins: fastestmirror
Setting up Remove Process
No Match for argument: httpd*
Determining fastest mirrors
* base: mirrors.mit.edu
* extras: mirrors.seas.harvard.edu
* updates: centos.mirror.constant.com
Package(s) httpd* available, but not installed.
No Packages marked for removal
Loaded plugins: fastestmirror
Setting up Remove Process
No Match for argument: mysql-server
Loading mirror speeds from cached hostfile
* base: mirrors.mit.edu
* extras: mirrors.seas.harvard.edu
* updates: centos.mirror.constant.com
Package(s) mysql-server available, but not installed.
No Match for argument: mysql
Package(s) mysql available, but not installed.
No Match for argument: mysql-libs
Package(s) mysql-libs available, but not installed.
No Packages marked for removal
Loaded plugins: fastestmirror
Setting up Remove Process
No Match for argument: php*
Loading mirror speeds from cached hostfile
* base: mirrors.mit.edu
* extras: mirrors.seas.harvard.edu
* updates: centos.mirror.constant.com
Package(s) php* available, but not installed.
No Packages marked for removal
Loaded plugins: fastestmirror
Cleaning repos: base extras updates vz-base vz-updates
Cleaning up Everything
Cleaning up list of fastest mirrors
Yum installing dependent packages...[0m
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirror.net.cen.ct.gov
* extras: mirrors.seas.harvard.edu
* updates: centos.mirror.constant.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package make.x86_64 1:3.81-20.el6 will be updated
---> Packag
[ 本帖最后由 xiaochunhao 于 2018-1-29 18:12 编辑 ] php -m 看一下
我们这边上线功能前centos、debian、ubuntu 等发行版都测试过,centos6再测试也都是正常的
页:
[1]