You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
[root@localhost dreamstart]# composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for doctrine/orm v2.5.6 -> satisfiable by doctrine/orm[v2.5.6].
- doctrine/orm v2.5.6 requires ext-pdo * -> the requested PHP extension pdo is missing from your system.
Problem 2
- Installation request for phpunit/php-code-coverage 4.0.8 -> satisfiable by phpunit/php-code-coverage[4.0.8].
- phpunit/php-code-coverage 4.0.8 requires ext-dom * -> the requested PHP extension dom is missing from your system.
Problem 3
- Installation request for phpunit/phpunit 5.7.19 -> satisfiable by phpunit/phpunit[5.7.19].
- phpunit/phpunit 5.7.19 requires ext-dom * -> the requested PHP extension dom is missing from your system.
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php.ini
- /etc/php.d/bz2.ini
- /etc/php.d/calendar.ini
- /etc/php.d/ctype.ini
- /etc/php.d/curl.ini
- /etc/php.d/exif.ini
- /etc/php.d/fileinfo.ini
- /etc/php.d/ftp.ini
- /etc/php.d/gettext.ini
- /etc/php.d/gmp.ini
- /etc/php.d/iconv.ini
- /etc/php.d/json.ini
- /etc/php.d/phar.ini
- /etc/php.d/shmop.ini
- /etc/php.d/simplexml.ini
- /etc/php.d/sockets.ini
- /etc/php.d/tokenizer.ini
- /etc/php.d/xml.ini
- /etc/php.d/zip.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
======================================================================
http://stackoverflow.com/questions/35815376/to-enable-extensions-verify-that-they-are-enabled-in-those-ini-files-vagrant
yum install -y php56w php56w-opcache php56w-xml php56w-mcrypt php56w-gd php56w-devel php56w-mysql php56w-intl php56w-mbstring php56w-bcmath
[root@localhost ~]# yum install -y php56w php56w-opcache php56w-xml php56w-mcrypt php56w-gd php56w-devel php56w-mysql php56w-intl php56w-mbstring php56w-bcmath
Loaded plugins: fastestmirror, langpacks
Repository pgdg95 is listed more than once in the configuration
Repository pgdg95-source is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* epel: mirror.lzu.edu.cn
* extras: mirrors.sohu.com
* updates: mirrors.sohu.com
* webtatic: sp.repo.webtatic.com
Package php56w-5.6.30-1.w7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package php56w-bcmath.x86_64 0:5.6.30-1.w7 will be installed
---> Package php56w-devel.x86_64 0:5.6.30-1.w7 will be installed
--> Processing Dependency: pcre-devel(x86-64) for package: php56w-devel-5.6.30-1.w7.x86_64
---> Package php56w-gd.x86_64 0:5.6.30-1.w7 will be installed
--> Processing Dependency: libt1.so.5()(64bit) for package: php56w-gd-5.6.30-1.w7.x86_64
---> Package php56w-intl.x86_64 0:5.6.30-1.w7 will be installed
---> Package php56w-mbstring.x86_64 0:5.6.30-1.w7 will be installed
---> Package php56w-mcrypt.x86_64 0:5.6.30-1.w7 will be installed
--> Processing Dependency: libmcrypt.so.4()(64bit) for package: php56w-mcrypt-5.6.30-1.w7.x86_64
---> Package php56w-mysql.x86_64 0:5.6.30-1.w7 will be installed
--> Processing Dependency: php56w-pdo(x86-64) for package: php56w-mysql-5.6.30-1.w7.x86_64
---> Package php56w-opcache.x86_64 0:5.6.30-1.w7 will be installed
---> Package php56w-xml.x86_64 0:5.6.30-1.w7 will be installed
--> Running transaction check
---> Package libmcrypt.x86_64 0:2.5.8-13.el7 will be installed
---> Package pcre-devel.x86_64 0:8.32-15.el7_2.1 will be installed
---> Package php56w-pdo.x86_64 0:5.6.30-1.w7 will be installed
---> Package t1lib.x86_64 0:5.1.2-14.el7 will be installed
--> Finished Dependency Resolution Dependencies Resolved ================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
php56w-bcmath x86_64 5.6.30-1.w7 webtatic 39 k
php56w-devel x86_64 5.6.30-1.w7 webtatic 2.5 M
php56w-gd x86_64 5.6.30-1.w7 webtatic 157 k
php56w-intl x86_64 5.6.30-1.w7 webtatic 199 k
php56w-mbstring x86_64 5.6.30-1.w7 webtatic 545 k
php56w-mcrypt x86_64 5.6.30-1.w7 webtatic 30 k
php56w-mysql x86_64 5.6.30-1.w7 webtatic 124 k
php56w-opcache x86_64 5.6.30-1.w7 webtatic 110 k
php56w-xml x86_64 5.6.30-1.w7 webtatic 170 k
Installing for dependencies:
libmcrypt x86_64 2.5.8-13.el7 epel 99 k
pcre-devel x86_64 8.32-15.el7_2.1 base 479 k
php56w-pdo x86_64 5.6.30-1.w7 webtatic 114 k
t1lib x86_64 5.1.2-14.el7 base 166 k Transaction Summary
================================================================================
Install 9 Packages (+4 Dependent packages) Total download size: 4.7 M
Installed size: 22 M
Downloading packages:
(1/13): pcre-devel-8.32-15.el7_2.1.x86_64.rpm | 479 kB 00:00
warning: /var/cache/yum/x86_64/7/epel/packages/libmcrypt-2.5.8-13.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for libmcrypt-2.5.8-13.el7.x86_64.rpm is not installed
(2/13): libmcrypt-2.5.8-13.el7.x86_64.rpm | 99 kB 00:01
(3/13): php56w-bcmath-5.6.30-1.w7.x86_64.rpm | 39 kB 00:01
(4/13): php56w-gd-5.6.30-1.w7.x86_64.rpm | 157 kB 00:00
(5/13): php56w-intl-5.6.30-1.w7.x86_64.rpm | 199 kB 00:00
(6/13): php56w-mbstring-5.6.30-1.w7.x86_64.rpm | 545 kB 00:01
(7/13): php56w-mcrypt-5.6.30-1.w7.x86_64.rpm | 30 kB 00:00
(8/13): php56w-mysql-5.6.30-1.w7.x86_64.rpm | 124 kB 00:00
(9/13): php56w-opcache-5.6.30-1.w7.x86_64.rpm | 110 kB 00:00
(10/13): php56w-pdo-5.6.30-1.w7.x86_64.rpm | 114 kB 00:00
(11/13): t1lib-5.1.2-14.el7.x86_64.rpm | 166 kB 00:00
(12/13): php56w-xml-5.6.30-1.w7.x86_64.rpm | 170 kB 00:00
(13/13): php56w-devel-5.6.30-1.w7.x86_64.rpm | 2.5 MB 00:08
--------------------------------------------------------------------------------
Total 552 kB/s | 4.7 MB 00:08
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
Userid : "Fedora EPEL (7) <epel@fedoraproject.org>"
Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
Package : epel-release-7-5.noarch (installed)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : libmcrypt-2.5.8-13.el7.x86_64 1/13
Installing : pcre-devel-8.32-15.el7_2.1.x86_64 2/13
Installing : php56w-pdo-5.6.30-1.w7.x86_64 3/13
Installing : t1lib-5.1.2-14.el7.x86_64 4/13
Installing : php56w-gd-5.6.30-1.w7.x86_64 5/13
Installing : php56w-mysql-5.6.30-1.w7.x86_64 6/13
Installing : php56w-devel-5.6.30-1.w7.x86_64 7/13
Installing : php56w-mcrypt-5.6.30-1.w7.x86_64 8/13
Installing : php56w-intl-5.6.30-1.w7.x86_64 9/13
Installing : php56w-mbstring-5.6.30-1.w7.x86_64 10/13
Installing : php56w-bcmath-5.6.30-1.w7.x86_64 11/13
Installing : php56w-xml-5.6.30-1.w7.x86_64 12/13
Installing : php56w-opcache-5.6.30-1.w7.x86_64 13/13
Verifying : php56w-opcache-5.6.30-1.w7.x86_64 1/13
Verifying : php56w-gd-5.6.30-1.w7.x86_64 2/13
Verifying : t1lib-5.1.2-14.el7.x86_64 3/13
Verifying : php56w-devel-5.6.30-1.w7.x86_64 4/13
Verifying : php56w-mcrypt-5.6.30-1.w7.x86_64 5/13
Verifying : php56w-pdo-5.6.30-1.w7.x86_64 6/13
Verifying : php56w-mysql-5.6.30-1.w7.x86_64 7/13
Verifying : php56w-xml-5.6.30-1.w7.x86_64 8/13
Verifying : pcre-devel-8.32-15.el7_2.1.x86_64 9/13
Verifying : php56w-bcmath-5.6.30-1.w7.x86_64 10/13
Verifying : php56w-mbstring-5.6.30-1.w7.x86_64 11/13
Verifying : libmcrypt-2.5.8-13.el7.x86_64 12/13
Verifying : php56w-intl-5.6.30-1.w7.x86_64 13/13 Installed:
php56w-bcmath.x86_64 0:5.6.30-1.w7 php56w-devel.x86_64 0:5.6.30-1.w7
php56w-gd.x86_64 0:5.6.30-1.w7 php56w-intl.x86_64 0:5.6.30-1.w7
php56w-mbstring.x86_64 0:5.6.30-1.w7 php56w-mcrypt.x86_64 0:5.6.30-1.w7
php56w-mysql.x86_64 0:5.6.30-1.w7 php56w-opcache.x86_64 0:5.6.30-1.w7
php56w-xml.x86_64 0:5.6.30-1.w7 Dependency Installed:
libmcrypt.x86_64 0:2.5.8-13.el7 pcre-devel.x86_64 0:8.32-15.el7_2.1
php56w-pdo.x86_64 0:5.6.30-1.w7 t1lib.x86_64 0:5.1.2-14.el7 Complete!
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.的更多相关文章
- You can also run `php --ini` inside terminal to see which files are used by PH P in CLI mode
在php.ini中打开extension=php_fileinfo.dll 就可以了
- [Docker] Run a command inside Docker container
For example you are working in a backend project, you have setup Dockerfile: FROM node:10.16.0-stret ...
- 阿里云服务器 yii2执行composer提示报错
未解决 composer installLoading composer repositories with package informationUpdating dependencies (inc ...
- CentOs 自带 PHP 之坑
在虚拟机上安装了CentOs6.5在上面安装了lnmp开发集成包(php7.1),对于之前没有任何开发经验的我来说,正常且安详滴在集成环境上开发着优雅的小bug. 然而我今天在Composer拉取代码 ...
- composer install 出现的问题
今天克隆代码之后,在composer install 的时候出现了一些问题,在此记录一下. 错误代码如下: [root@localhost MarketingCenter]# composer ins ...
- centos下写Symfony
之前都是在windows上写SY,现在要部署到Linux上了,提前测试一下. 第一步,要有台Centos机器,安装过程略 第二步,安装数据库,PostgreSQL,过程; 第三步,安装版本控制器,GI ...
- Laravel 5.5 项目安装报错
错误一. [Composer\Exception\NoSslException] The openssl extension is required for SSL/TLS protection bu ...
- 安装laravel项目出错
我的本地是7.0.1,而下载下来的原来是运行在7.0.8版本的,于是执行:composer install 时,报了一堆错.解决办法:删掉composer.lock,重新composer instal ...
- thinkphp6.0 composer 安装 web-token/jwt-framework 常见出错原因分析及解决方法
composer require web-token/jwt-framework 安装JWT出现错误提示 - web-token/jwt-framework v2.0.1 requires ext-g ...
随机推荐
- ejs - 初试
官方API: https://www.npmjs.com/package/ejs - 模板引擎 ejs文件(和普通html文件没什么区别,只是多增加了变量) <!DOCTYPE html> ...
- HDU-1047-Integer Inquiry(Java大数水题 && 格式恶心)
Integer Inquiry Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) ...
- POJ 3687:Labeling Balls(优先队列+拓扑排序)
id=3687">Labeling Balls Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 10178 Acc ...
- Docker DevOps实战: 一分钟搭建Hexo博客
原文地址:https://yq.aliyun.com/articles/53772 Hexo博客 Hexo 是一个快速.简洁且高效的博客框架.Hexo 使用 Markdown解析文章,在几秒内,即可利 ...
- delphi的字节对齐
如果不改编译选项Delphi的Record默认也是4字节对齐的. 可以用编译开关指定 {$A4+}就是4字节对齐.同理{$A2+}.{$A1+}等.{$A1+}等同于Packed Record 主要容 ...
- eclipse / ADT(Android Develop Tool) 一些方便的初始设置
1.设置编辑窗口的背景色eclipse的主编辑窗口的背景色,默认为白色,个人感觉太亮,推荐保护视力的“墨绿色”,当然也可以根据个人喜好更改,如下图 2.主编辑窗口的字体字号等,也可以根据自己的爱好 ...
- Linux Mint (应用软件— 虚拟机:Virtualbox)
近期想自己折腾一下Linux系统本身.比方Linux裁减或者移植.裁减或者移植Linux是一件麻烦的事情.而且出错后会影响到当前的系统.怎样才干不影响当前机器上的系统呢,于是便想到了虚拟机.在当前系统 ...
- 利用python 掌握机器学习的过程
转载:http://python.jobbole.com/84326/ 偶然看到的这篇文章,觉得对我挺有引导作用的.特此跟大家分享一下. 为了理解和应用机器学习技术,你需要学习 Python 或者 R ...
- lua学习笔记(十二)
弱引用table lua使用自动内存管理机制,通过垃圾回收器来回收内存 垃圾回收器只能回收它认为是垃圾的内容,而不能回收用户认为是垃圾的内容 典型的例子栈,栈一般用一个数组和一 ...
- ubuntu安装中文man手册
1.安装manpages-zh包 sudo apt-get install manpages-zh 2.修改manpath文件 执行如下命令: vi /etc/manpath.config %s+/u ...