Centos 下PHP编译安装fileinfo扩展
来源:互联网 发布:nba步行者特纳体测数据 编辑:程序博客网 时间:2024/06/05 19:57
1.检查当前环境
php -i|grep fileinfo
若出现fileinfo
fileinfo support => enabled
则代表fileinfo
扩展可用,否则不可用。
2.安装
2-1:下载
wget -O php-5.6.9.tar.gz http://cn2.php.net/get/php-5.6.9.tar.gz/from/this/mirror
2-2:解压
tar -zxvf php-5.6.9.tar.gz
2-3:进入对应php版本扩展目录(我这是5.6.9版本)
cd /var/php5.6.9/php-5.6.9/ext/fileinfo
2-4:编译&&安装
/usr/local/php/bin/phpize./configure -with-php-config=/usr/local/php/bin/php-configmake && make installvim /usr/local/php/etc/php.ini
2-5:修改php.ini
加入:extension=fileinfo.so
转载自: https://segmentfault.com/a/1190000005058875
想了解更多技术欢迎加入技术开发交流群:572870063
阅读全文
0 0
- Centos 下PHP编译安装fileinfo扩展
- Centos下编译安装fileinfo扩展
- centos下,安装fileinfo扩展
- 编译安装php扩展fileinfo
- php 安装fileinfo扩展
- centos安装php缺失fileinfo.so扩展解决
- CentOS下编译安装PHP扩展库
- CentOS 下编译安装php memcached扩展
- Linux php安装fileinfo扩展
- ubuntu下安装和使用php的fileinfo扩展
- Linux下安装php的扩展文件fileinfo.so文件
- Linux下安装fileinfo扩展
- centos下编译php扩展
- centos下编译php扩展
- Centos下给php安装Redis扩展及编译问题解决
- linux环境安装php fileinfo扩展
- centOS下编译安装php
- Lnmp1.4 一键安装包 安装php fileinfo扩展
- KVC详解
- 今日立秋
- mycat-错误-ERROR 1064 (HY000): bad insert sql (sharding column:ID not provided,INSERT INTO
- 海量数据处理
- leetcode(338). Counting Bits
- Centos 下PHP编译安装fileinfo扩展
- 龙果开源支付系统
- MFC gdi画图 孙鑫 第十章
- Python学习日志1
- View孪生兄弟——SurfaceView
- 数据结构与算法分析--最大子序列和问题
- bzoj 3408: [Usaco2009 Oct]Heat Wave 热浪 最短路
- Python 在当前目录以及其子目录下查找文件名包含指定字符串的文件,并打印出相对路径。
- zoj 3279 Ants (线段树单点更新)