Skip to content

Installation

Imam Ali Mustofa edited this page Jun 21, 2024 · 1 revision

Installation

Download

Download the latest build extension/driver binary you can see at Release page.

It's available for:

  • Linux
  • Mac/Darwin
  • Windows (WSL) / Windows MSVC1

PHP Versions

  • PHP 8.0
  • PHP 8.1
  • PHP 8.2
  • PHP 8.3

Installation

  • Extract the archive
  • Locate somewhere in your machine
  • Copy a relative path that address that extension/driver
  • Open php.ini search ;extension if you using nano (ctrl+w) then searching for it
  • add in the next-line extension=/path/your/liblibsql_php.so (in Linux) without ; at the begining

Check on your console/terminal

php --m | grep libsql

  1. Before using this extension in your Windows Platform. Note, this requirement is really important. We use Windows Server 2022 - Based on GitHub Runner Images to build this extension.
  • OS Version: 10.0.20348 Build 2461
  • Image Version: 20240610.1.0

PHP Versions

  • PHP 8.0
  • PHP 8.1
  • PHP 8.2
  • PHP 8.3

Microsoft Visual C++

Name Architecture Version
Microsoft Visual C++ 2013 Additional Runtime x64 12.0.40660
Microsoft Visual C++ 2013 Minimum Runtime x64 12.0.40660
Microsoft Visual C++ 2022 Additional Runtime x64 14.40.33810
Microsoft Visual C++ 2022 Debug Runtime x64 14.40.33810
Microsoft Visual C++ 2022 Minimum Runtime x64 14.40.33810
Microsoft Visual C++ 2022 Additional Runtime x86 14.40.33810
Microsoft Visual C++ 2022 Debug Runtime x86 14.40.33810
Microsoft Visual C++ 2022 Minimum Runtime x86 14.40.33810

Download libSQL Extension for Windows from release page

Clone this wiki locally