Felipe ChangF
Windmill11mo ago
1 reply
Felipe Chang

PHP extensions and environment variables

First of all, I'm loving Windmill. Great job so far.

Second, I have two questions,

1) How do I install PHP extensions?

Came across this error and I don't know where to update the php.ini file

ExecutionErr: exit code for "composer install": 2, last log lines:
omposer.json requires PHP extension ext-soap * but it is missing from your system. Install or enable PHP's soap extension.
Problem 2
- Root composer.json requires ryanwinchester/netsuite-php v2024.2.0 -> satisfiable by ryanwinchester/netsuite-php[v2024.2.0].
- ryanwinchester/netsuite-php v2024.2.0 requires ext-soap * -> it is missing from your system. Install or enable PHP's soap extension.


2) How do I retrieve environment variables in a PHP script?

Documentation only gives examples for TS, Py, Go, and Bash
https://www.windmill.dev/docs/core_concepts/variables_and_secrets#accessing-a-variable-from-a-script
When writing scripts, you may want to reuse variables, or safely pass secrets to
Was this page helpful?