如何使用 php 版本 5.3.2 在 cpanel/whm 上安装 dBase

发布于 2024-09-07 15:45:22 字数 273 浏览 4 评论 0原文

我如何使用 php 版本 5.3.2 在 cpanel/whm 上安装 dBase,我在 EasyApache(Apache 更新)上没有看到该选项

更新 下面是使其工作的 ssh 命令

wget http://pecl.php.net/get/dbase-5.0.1.tgz
tar -xzf dbase-5.0.1.tgz
cd dbase-5.0.1
phpize
./configure
make
make install

how can i install dBase on cpanel/whm with php version 5.3.2, i didn't see the option on EasyApache (Apache Update)

UPDATE
Below is the ssh command to make it work

wget http://pecl.php.net/get/dbase-5.0.1.tgz
tar -xzf dbase-5.0.1.tgz
cd dbase-5.0.1
phpize
./configure
make
make install

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

晌融 2024-09-14 15:45:22

我知道这对cpanel使用没有太大帮助,但是如果可以使用pecl,dbase在5.3中已移至pecl。您仍然可以在 5.3 中使用它,方法是:

pecl install channel://pecl.php.net/get/dbase

然后将 dbase.so 添加到 php.ini(如果尚不存在)。构建 php 时的 --enable-dbase 配置选项在 5.3 中没有任何作用。

I know that this is not a lot of help for cpanel use, but if you can use pecl, dbase was moved to pecl in 5.3. You can still use it with 5.3 by doing:

pecl install channel://pecl.php.net/get/dbase

Then add dbase.so to php.ini if it is not there already. The --enable-dbase configure option when building php does nothing in 5.3.

小镇女孩 2024-09-14 15:45:22

根据 cPanel 的回复:

看来 Dbase 在 PHP 5.3.x 中不再可用,我选择了 5.2.13(无需构建),它显示在选项列表中。

因此,我切换回 php 5.2.X 并从 EasyApache 安装了 dBase,它现在可以工作了。

according to response from cPanel:

It appears Dbase is no longer available in PHP 5.3.x, I selected 5.2.13 (without building) and it showed up in the options list.

So, I switched back to php 5.2.X and installed dBase from EasyApache and it's now working.

三岁铭 2024-09-14 15:45:22

在 WHM 中,转到“软件”>模块安装程序,然后单击 PHP PECL 行中的管理搜索“dbase”>安装

CENTOS 6.8 x86_64 kvm – cPanel & WHM 64.0(版本 36)

In WHM, go to Software > Module Installers then click in Manage in PHP PECL line. Search for "dbase" > Install!

CENTOS 6.8 x86_64 kvm – cPanel & WHM 64.0 (build 36)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文