PHP abandons SQlite? [closed]

你。 提交于 2021-02-07 05:36:50

问题


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.

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

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.

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

  1. PHP team will pay at least less attention on future development of PHP/SQlite integration

  2. we could expect web hosting providers that will miss installing SQlite extension, as it is not by default any more?

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


回答1:


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.

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

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.



来源:https://stackoverflow.com/questions/10596176/php-abandons-sqlite

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!