Skip to content

Building the extension

Requires a Talario build. Licensed builds are available through sales. There is no public download. Availability

Talario is a native PHP 8.x Zend extension (C and C++). It is built with the standard PHP extension toolchain.

Prerequisites#

  • PHP 8.2, 8.3, 8.4 or 8.5 development headers (phpize, php-config); 8.5 is not required. The module loads only into a PHP carrying the 2026-11-19 security releases (8.2.36, 8.3.37, 8.4.28, 8.5.13 or newer on its branch, checked by version; PHP 8.2 to 8.5 only, 8.6 is not supported yet); see SECURITY.md, "Supported PHP runtimes".
  • A C/C++ toolchain (C11 and C++20).
  • The Vulkan SDK/loader for the GPU backend. Without it, Talario still builds and runs on the CPU/SIMD fallback.
  • The Tessero numerical core, which Talario links against for GEMM/AXPY.

Build#

./build.sh

The script runs phpize, ./configure (see config.m4 for the feature flags), and make, producing the loadable module. Enable it in your php.ini with extension=talario (or extension=talario.so on a path-qualified build), then confirm:

php -m | grep -i talario

Using a coding agent?

Copy a prompt for Building the extension, with 12 exact API signatures.