# Outdated SQLite version on PHP 7.4

**URL:** <https://travis-ci.community/t/outdated-sqlite-version-on-php-7-4/6584>\
**Category:** PHP\
**Tags:** php-740\
**Created:** [December 21, 2019, 8:38am UTC](https://travis-ci.community/t/outdated-sqlite-version-on-php-7-4/6584 "2019-12-21T08:38:21Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [January 3, 2020, 7:33pm UTC](https://travis-ci.community/t/outdated-sqlite-version-on-php-7-4/6584/6 "2020-01-03T19:33:25Z")

</div>

Okay, I see the reason. It turns out, PHP 7.4 no longer bundles a (newer) private copy of `libsqlite3` (see [https://www.php.net/manual/en/ref.pdo-sqlite.php](https://www.php.net/manual/en/ref.pdo-sqlite.php), [https://www.php.net/ChangeLog-7.php#PHP\_7\_4](https://www.php.net/ChangeLog-7.php#PHP_7_4), [https://www.php.net/manual/en/migration74.other-changes.php](https://www.php.net/manual/en/migration74.other-changes.php)).

So now the default build configuration (which is what Travis provides) is built against whatever version the distro supplies – which for Ubuntu are the aforementioned versions.

* * *

So you’ll need to work with PHP developers to figure out if it’s possible and how to hook 7.4 to a newer private copy of `libsqlite3` – as it was their decision to change the software’s scope of supply.

It’s up to Travis staff whether to implement the result as the default, but you can always build a custom PHP version from source and use that.

---

_[View the full topic](https://travis-ci.community/t/outdated-sqlite-version-on-php-7-4/6584)._
