PHP放弃SQlite? [英] PHP abandons SQlite?

查看:33
本文介绍了PHP放弃SQlite?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

SQLite 扩展从 PHP 5.0 开始默认启用.开始在 PHP 5.4 中,SQLite 扩展只能通过 PECL 使用.

The SQLite extension is enabled by default as of PHP 5.0. Beginning with PHP 5.4, the SQLite extension is available only via PECL.

好的,我对 PHP 编程比较陌生,我想知道从官方 PHP 站点引用的这些信息是什么意思?

Ok, I'm relatively new in PHP programming, and I was wondering what does this quoted information from official PHP site mean?

我编写了一些运行 SQLite 而不是 MySQL 数据库的应用程序,我非常担心它是否会从 PHP 的未来版本中被弃用.

I wrote some applications that runs SQlite rather than MySQL database and I have serious concern if is it going to be deprecated from future versions of PHP.

从现在开始,只能通过 PECL"是什么意思?我知道 SQlite 将可用,但这并不意味着:

What does it means "from now, only via PECL"? I understand that SQlite will be available but doesn't that mean that:

  1. PHP 团队至少会更少关注 PHP/SQlite 集成的未来发展

我们可以预期网络托管服务提供商会错过安装 SQlite 扩展程序,因为它不再是默认设置?

有人知道当 PHP 丢弃" PECL 扩展时会发生什么吗?提前致谢.

Does someone have experience about what's happen when PHP "throw away" extension to PECL? Thanks in advance.

推荐答案

我不是 100% 确定,但在我看来 PHP 正在放弃对旧的 SQLite 5.4 扩展支持(更新更好)SQLite3 扩展.

I'm not 100% sure, but it looks to me like PHP is dropping support for the old SQLite extension in 5.4 in favour of the (newer and better) SQLite3 extension.

SQLite3 扩展从 PHP 5.3.0 开始默认启用.

The SQLite3 extension is enabled by default as of PHP 5.3.0.

SQLite 的一个主要优点是它的设置非常简单——将它作为 PHP 核心的一部分对于保持这种方式很重要.我没有看到这种变化.

A major benefit of SQLite is how simple it is to setup—and having it as part of the PHP core is important to keeping it that way. I don't see that changing.

这篇关于PHP放弃SQlite?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆