linux - Remi PHP-FPM 数据库

标签 linux centos php dbase

我需要打开一些 *.dbf 文件。我知道 PHP 有哪些模块可以轻松处理此类文件,但我如何才能将该模块添加到 php-fpm?

[root@mcs-team tmp]# pecl install dbase
downloading dbase-5.1.0.tgz ...
Starting to download dbase-5.1.0.tgz (14,112 bytes)
.....done: 14,112 bytes
12 source files, building
running: phpize
Can't find PHP headers in /usr/include/php
The php-devel package is required for use of this command.
ERROR: `phpize' failed

此外,

* Sun Aug 10 2008 Remi Collet <rpms@famillecollet.com> 5.3.0-0.1.alpha2-dev.200808101630.fc9.remi
  - new snapshot (5.3.0alpha2-dev) 
  - no more dbase extension

为什么,我怎样才能得到它?

[root@mcs-team tmp]# php -v
PHP 5.4.12 (cli) (built: Feb 20 2013 14:41:12)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

[root@mcs-team tmp]# uname -a
Linux mcs-team.tld 2.6.32-042stab063.2 #1 SMP Tue Oct 23 16:24:09 MSK 2012 x86_64 x86_64 x86_64 GNU/Linux

[root@mcs-team ~]# cat /etc/*elease*
CentOS release 6.4 (Final)

最佳答案

yum install php-dev*
pecl install dbase

关于linux - Remi PHP-FPM 数据库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15355607/

相关文章:

linux - 使用grep解析数据

c - 从文件路径反向获取目录路径

linux - ffmpeg:如何在视频 2 的开头添加视频 1

nginx - 安装 passenger 和 nginx 时找不到 C 编译器 gcc

fonts - centos7.2如何安装字体,fc-cache命令无法识别

java - 如何在本地网络中找到系统(服务器)的 IP 地址?

linux - SOASTA CloudTest Lite ova VM 在导入 VirtualBox 后无法启动,出现错误 : "Your cpu does not support long mode. Use a 32bit distribution."

php - App\Http\Controllers\CustomerController::postOptOut() 缺少参数 1

php - 在 Laravel 中获取特定时间范围内的记录

在多个选定的下拉列表中将 PHP 数组转换为字符串