ResolvedInstallOptions
Index
Properties
optionalenv
optionalextensionDir
VFS directory where PHP.wasm writes the extension .so file and its
per-extension ini file. Defaults to PHP_EXTENSIONS_DIR.
optionalextraFiles
Sidecar files to write into the PHP VFS before the extension is loaded. Use this for data files or dependency assets the extension expects at runtime.
optionalfetch
Fetch implementation used for URL and manifest sources. Runtimes may
provide environment-specific defaults; for example, @php-wasm/node
adds local file support.
Type declaration
Parameters
input: RequestInfo | URL
optionalinit: RequestInit
Returns Promise<Response>
Parameters
input: RequestInfo | URL
optionalinit: RequestInit
Returns Promise<Response>
Parameters
input: string | Request | URL
optionalinit: RequestInit
Returns Promise<Response>
optionaliniEntries
Additional key=value lines for the generated startup .ini file.
optionalloadWithIniDirective
The first directive of the generated startup .ini file. Regular
extensions need extension=...; Zend extensions like Xdebug need
zend_extension=....
optionalname
Overrides the name inferred from source.
phpVersion
PHP major/minor version the active runtime is initializing for.
Environment variables added before the extension is loaded.