gpt4 book ai didi

linux - Remi PHP-FPM 数据库

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:04:32 24 4
gpt4 key购买 nike

我需要打开一些 *.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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com