PHP 5.x 中的 DBM 或 SQLite

发布于 2024-08-03 04:54:16 字数 314 浏览 5 评论 0原文

我们有一个客户,其网站托管在不提供数据库功能的服务器上(我不想透露托管公司名称)。

我们开发了一个非常简单的基于 CMS 的网站,但实施使用 MySQL。

我在某处读到 PHP 中内置了类似数据库的功能。我从未使用过它们。

这些是什么以及它们的可靠性如何?

使用 DBM 功能和使用 SQLite 功能哪个更可取?

对于 SQLite,我们是否必须对 php.ini 文件进行任何更改?如果,那么这对我们来说是出问题,因为托管提供商不允许我们访问 php.ini 文件。

TIA

We have a client whose site is hosted on a server (I don't want to disclose hosting company name) which does not provide DB functionality.

We have developed a very simple CMS based site but out implementation uses MySQL.

I read somewhere that there are DB like functionality built-in in PHP. I have never used them.

What are these and how reliable are they?

What is more advisable to user the DBM functionality or to use the SQLite functionality?

For SQLite do we have to make any changes to php.ini file? If yes then this is out of bounce for us as the hosting provider does not give us access to php.ini file.

TIA

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

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

发布评论

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

评论(2

泛泛之交 2024-08-10 04:54:16

Sqlite 默认随 PHP 5.2.x 一起提供。我更喜欢 SQLite,因为它支持与 MySQL 几乎相同的 sql 命令,而且速度非常快。

尽管有一个很好的用于 Firefox 的 SQLite GUI 作为插件提供。 (Sqlite 管理器)。

Sqlite is shipped as default with PHP 5.2.x. I would prefer SQLite because it supports nearly the same sql commands like MySQL and is realy fast.

Altough there is a nice GUI for SQLite for Firefox provided as Plugin. (SqliteManager).

折戟 2024-08-10 04:54:16

DBM 不是关系数据库系统(没有 SQL),因此很难移植 CMS。 SQLite 至少有 SQL 支持。您可以在 https://en.wikipedia.org/wiki/DBM_ 找到有关 DBM 的更多信息(计算)

The DBM is not a relational database system (no SQL), so it would be difficult to port your CMS. SQLite at least has an SQL support. You may find more information about DBM at https://en.wikipedia.org/wiki/DBM_(computing)

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