Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP abandons SQlite? [closed]

Tags:

php

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.

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.

like image 616
Miloš Đakonović Avatar asked May 15 '12 07:05

Miloš Đakonović


1 Answers

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.

like image 122
Jonathan Avatar answered Oct 15 '22 20:10

Jonathan