WindmillWWindmill
Powered by
Felipe ChangF
Windmill•12mo 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
Variables and secrets | Windmill
When writing scripts, you may want to reuse variables, or safely pass secrets to
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

Pass environment variables to `uv pip install`
tl_jacobTtl_jacob / help
9mo ago
PHP support
GustavoGGustavo / help
3y ago
global variables
KenKKen / help
2y ago
Access Resources and Variables in Windmill Rust Script
David LinDDavid Lin / help
10mo ago