```
00:00:44.238 Problem 1
00:00:44.239 - Installation request for etsy/phan 0.7 -> satisfiable by etsy/phan[0.7].
00:00:44.239 - etsy/phan 0.7 requires ext-sqlite3 0.7-dev -> the requested PHP extension sqlite3 has the wrong version (7.0.21-1+0~20170706092253.2+jessie~1.gbp57c738) installed.
```
Solved in phan 0.8+ which removes the ext-sqlite3 0.7-dev dependency. Gotta update/recheck the following extensions:
[ ] CirrusSearch
[ ] Cognate
[ ] ElectronPdfService
[ ] FileImporter
[ ] InterwikiSorting
[ ] LoginNotify
[ ] RevisionSlider
[ ] TwoColConflict
[ ] Wikibase
-----------
The issue is apparently that the php7.0-sqlite package from sury.org causes the extension to report a version that is not matching `0.7-dev`.
```
$ php -i|grep -i sqlite
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/20-xhprof.ini on line 2 in Unknown on line 0
/etc/php5/cli/conf.d/20-pdo_sqlite.ini,
/etc/php5/cli/conf.d/20-sqlite3.ini,
PDO drivers => mysql, pgsql, sqlite
pdo_sqlite
PDO Driver for SQLite 3.x => enabled
SQLite Library => 3.8.7.1
sqlite3
SQLite3 support => enabled
SQLite3 module version => 0.7-dev
SQLite Library => 3.8.7.1
sqlite3.extension_dir => no value => no value
```
```
$ apt-cache policy php7.0-sqlite
php7.0-sqlite3:
Installed: 7.0.21-1+0~20170706092253.2+jessie~1.gbp57c738
Candidate: 7.0.21-1+0~20170706092253.2+jessie~1.gbp57c738
Version table:
*** 7.0.21-1+0~20170706092253.2+jessie~1.gbp57c738 0
500 https://packages.sury.org/php/ jessie/main amd64 Packages
```
```
zcat changelog.Debian.gz
php7.0 (7.0.21-1+0~20170706092253.2+jessie~1.gbp57c738) unstable; urgency=medium
** SNAPSHOT build @57c738a72fd43c9428cf8f952b410cfbb5ba2c96 **
* UNRELEASED
-- Ondřej Surý <ondrej@sury.org> Thu, 06 Jul 2017 11:22:55 +0200
php7.0 (7.0.21-1) unstable; urgency=medium
* New upstream version 7.0.21
* Rebase patches on top of PHP 7.0.21
-- Ondřej Surý <ondrej@debian.org> Thu, 06 Jul 2017 11:01:45 +0200
php7.0 (7.0.20-2) unstable; urgency=medium
* Add Ferenc Kovacs signing key to upstream GPG keyring
* Add upstream patch to fix broken support for HOST/PATH ini sections
-- Ondřej Surý <ondrej@debian.org> Wed, 14 Jun 2017 07:30:04 +0200
```