Skip to content

Conversation

@enoch85
Copy link
Member

@enoch85 enoch85 commented Nov 4, 2025

Replace PECL-based installation of redis, igbinary, and smbclient with native Ubuntu packages for easier maintenance and better stability.

Changes:

  • Replace PECL redis with php8.3-redis (5.3.7+4.3.0)
  • Replace PECL igbinary with php8.3-igbinary (3.2.13)
  • Replace PECL smbclient with php8.3-smbclient (1.0.6)
  • Remove build dependencies (php-dev, libsmbclient-dev)
  • Add migration logic in update script for existing installations
  • Simplify installation code (remove manual .ini creation)

Benefits:

  • Automatic updates via apt
  • No build failures
  • Faster installation (no compilation)
  • Automatic security updates from Ubuntu Security Team
  • Reduced code complexity (-109 lines, 87% reduction)
  • Save ~50MB disk space (no build dependencies)

The update script handles migration from PECL to OS packages automatically for existing installations while maintaining backward compatibility.

Fixes: Simplifies maintenance and improves reliability

Replace PECL-based installation of redis, igbinary, and smbclient with native Ubuntu packages for easier maintenance and better stability. Changes: - Replace PECL redis with php8.3-redis (5.3.7+4.3.0) - Replace PECL igbinary with php8.3-igbinary (3.2.13) - Replace PECL smbclient with php8.3-smbclient (1.0.6) - Remove build dependencies (php-dev, libsmbclient-dev) - Add migration logic in update script for existing installations - Simplify installation code (remove manual .ini creation) Benefits: - Automatic updates via apt - No build failures - Faster installation (no compilation) - Automatic security updates from Ubuntu Security Team - Reduced code complexity (-109 lines, 87% reduction) - Save ~50MB disk space (no build dependencies) The update script handles migration from PECL to OS packages automatically for existing installations while maintaining backward compatibility. Fixes: Simplifies maintenance and improves reliability
@enoch85 enoch85 marked this pull request as ready for review November 6, 2025 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants