v0.3.7
Highlights
Two reliability wins:
- No more 502 Bad Gateway on cloud-deployed Laravel sites. The apply pipeline now provisions PHP-FPM and nginx so they self-heal — no more SSHing in to restart services.
- Download missing extension DLLs from the UI, with live progress. The "NO DLL" badge in the PHP Extensions modal is now a clickable button that pulls the matching DLL from the official PHP zip on windows.php.net (or the local cache), with a real-time progress bar and an inline error banner. Statically-compiled built-ins on PHP 7.4 (bcmath, ctype, date, SPL, …) are now correctly detected via
php -n -mand no longer flagged as missing.
Cloud deploys — eliminate intermittent 502s
- Per-application PHP-FPM pool at
/etc/php/<ver>/fpm/pool.d/<app>.conf:pm.max_children=25,pm.max_requests=500(recycles workers, kills memory bloat),request_terminate_timeout=300(frees stuck workers),listen.backlog=8192(absorbs traffic spikes). The distro defaultwwwpool is moved aside so two pools don't compete for memory. - Per-app FPM socket (
/var/run/php/php<ver>-fpm-<app>.sock) — isolates workers between sites and enables future per-project tuning. - systemd auto-restart drop-ins —
Restart=always+RestartSec=2sfor bothphp<ver>-fpmandnginx. Crashes (segfault, OOM kill, failed reload) recover in ~2s instead of staying down until manual intervention. - nginx vhost retries —
fastcgi_connect_timeout,fastcgi_send_timeout,fastcgi_read_timeout, plusfastcgi_next_upstreamwith 3 retries. Brief FPM reload windows turn into a 1-2s blip instead of a hard 502. - Destroy cleans up the new pool config, slow log, and per-app socket.
PHP extensions
- One-click DLL download for any extension bundled with the official PHP zip (bcmath, gd, curl, mbstring, openssl, …). Reuses the install cache when possible.
- Live progress — the modal subscribes to
install:progressand renders a bar with bytes/throughput. - Persistent error banner for non-bundled (PECL) extensions instead of a disappearing toast.
- Built-in detection via
php -n -mso statically-compiled extensions stop showing false-positive "NO DLL".
Other
- New SFTP browser modal (two-pane local/remote, upload/download, rename, mkdir).
- Terminal tabs and Deployments/Projects polish.
Install
- Download
LaraEnv-0.3.7.msiand double-click. - Auto-update from prior versions picks this up automatically.
Compatibility
- Windows 10+ (x64) for the desktop app.
- Cloud deploy targets: Ubuntu/Debian (apt-based).
- No config or data migrations. Drop-in replacement for 0.3.3 → 0.3.6.
- First deploy onto an existing host moves
/etc/php/<ver>/fpm/pool.d/www.conftowww.conf.disabled— restore by renaming back if you have other (non-LaraEnv) sites depending on it.