Skip to content

phpenv v1.5.4 - Release Notes

Latest

Choose a tag to compare

@DevinY DevinY released this 08 May 06:48
· 6 commits to main since this release

This release focuses on improving the stability and automation of the console CLI, fixing build-related bugs,
and enhancing environment synchronization.

🛠 Key Fixes & Improvements:

  1. Fixed console build error:
    • Resolved the "no such service:" error when running ./console build without a specific service name. It
      now correctly builds all services by default.
  2. Enhanced Build Argument Support:
    • The build command now supports extra flags and options. You can now use commands like ./console build php
      --no-cache or ./console build --pull.
    • The script intelligently identifies the service name from arguments for pre-build information display
      while passing all other flags to Docker.
  3. Automated PHP-FPM Configuration Sync:
    • New Feature: Integrated etc/php-fpm.d/www.conf synchronization into the startup sequence.
    • Every time you run ./start or ./console up, the script automatically checks and updates the user and
      group settings in www.conf to match the USER_ID and GROUP_ID defined in your .env file.
  4. Core Script Refactoring:
    • Improved robustness of core bash scripts with better argument handling and cleaner execution paths.

Usage Tip: After updating, if you change your USER_ID in .env, simply run ./start. The script will detect the
change and sync your PHP-FPM configuration automatically before the containers start.