Skip to content

v0.3.7

Choose a tag to compare

@thayronarrais thayronarrais released this 06 May 19:56

Highlights

Two reliability wins:

  1. 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.
  2. 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 -m and 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 default www pool 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-insRestart=always + RestartSec=2s for both php<ver>-fpm and nginx. Crashes (segfault, OOM kill, failed reload) recover in ~2s instead of staying down until manual intervention.
  • nginx vhost retriesfastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout, plus fastcgi_next_upstream with 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:progress and 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 -m so 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.msi and 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.conf to www.conf.disabled — restore by renaming back if you have other (non-LaraEnv) sites depending on it.