Skip to main content

ResolvedPHPExtension

Fully resolved files and settings needed to install one extension. Produced by resolvePHPExtension; consumed by withResolvedPHPExtensions and installPHPExtensionFilesSync.

Index

Properties

optionalenv

env?: Record<string, string>

Environment variables added before PHP startup.

extensionDir

extensionDir: string

VFS directory the .so and ini file live in.

optionalextraFiles

extraFiles?: ResolvedExtraFiles

Sidecar files staged alongside the extension. Optional.

iniContent

iniContent: string

Contents of the generated per-extension ini file. The first line is the extension= or zend_extension= directive; remaining lines are the caller-supplied iniEntries.

iniPath

iniPath: string

Absolute VFS path the generated per-extension ini file is staged at.

soBytes

soBytes: Uint8Array

Compiled extension bytes to write at soPath.

soPath

soPath: string

Absolute VFS path the .so file is staged at.