问题
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:
PHP team will pay at least less attention on future development of PHP/SQlite integration
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