You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,19 @@
2
2
3
3
## [v1.6.0] - 2025-09-15
4
4
5
+
### Added
6
+
7
+
-**Smart repository detection:** Added intelligent detection of missing PHP repositories on RHEL/Fedora systems with automatic suggestions for enabling Remi's repository.
8
+
-**Enhanced error messaging:** Implemented comprehensive error handling with actionable solutions when PHP packages are not found in default repositories.
9
+
-**Repository setup guidance:** Added detailed step-by-step instructions for enabling EPEL and Remi repositories on Fedora, RHEL, Rocky Linux, AlmaLinux, and CentOS systems.
10
+
5
11
### Changed
6
12
7
13
-**Consolidated GitHub Actions workflows:** Streamlined CI/CD from 7 separate workflow files down to 3 focused workflows, eliminating duplication while maintaining comprehensive test coverage.
8
14
-**Enhanced multi-distribution testing:** Expanded automated testing to cover 13 Linux distributions (Ubuntu, Debian, Fedora, Rocky Linux, AlmaLinux, Arch Linux, Alpine Linux) with 4 different package managers (apt, dnf, pacman, apk).
9
15
-**Improved cross-platform compatibility:** Fixed package installation issues for RHEL-family distributions (Rocky/Alma Linux) and Alpine Linux in CI environments.
-**Intelligent PHP installation:** Enhanced PHP installation process to check package availability before attempting installation and provide specific guidance when packages are missing.
Copy file name to clipboardExpand all lines: README.MD
+54-1Lines changed: 54 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,11 +41,13 @@ PHP 8.1.13
41
41
- Seamlessly switch between installed PHP versions.
42
42
- Auto-switch PHP versions based on project `.phpvmrc`.
43
43
- Supports macOS (via Homebrew) and Linux distributions including WSL.
44
+
-**Smart repository detection** for RHEL/Fedora systems with automatic setup guidance.
45
+
-**Enhanced error handling** with actionable solutions when PHP packages are missing.
46
+
-**Intelligent package availability checking** before attempting installations.
44
47
- Enhanced cross-platform compatibility with improved shell support.
45
48
- Works with common shells (`bash`, `zsh`).
46
49
- Comprehensive version commands (`phpvm version`, `phpvm --version`, `phpvm -v`).
47
50
- Post-install validation with helpful warnings for missing binaries.
48
-
- Improved error handling with detailed messages and suggestions.
49
51
- Enhanced Homebrew integration with better link failure detection.
50
52
- Informative, color-coded feedback with timestamps for logs.
51
53
- Includes unit tests with BATS for automated testing.
@@ -108,6 +110,8 @@ To install a specific version of PHP:
108
110
phpvm install 8.1
109
111
```
110
112
113
+
**Smart Repository Detection**: On RHEL/Fedora systems, phpvm automatically detects if PHP packages are available in your current repositories. If not, it provides step-by-step instructions to enable the necessary repositories (like Remi's repository) before installation.
If you experience issues with `phpvm`, try the following:
198
202
203
+
### General Issues
204
+
199
205
- Run `phpvm test` to verify all functions are working correctly
200
206
- Check the phpvm version with `phpvm version` or `phpvm --version`
201
207
- Ensure your shell profile is sourcing `phpvm.sh`
@@ -209,6 +215,53 @@ If you experience issues with `phpvm`, try the following:
209
215
- If you encounter Homebrew link issues on macOS, try manually relinking: `brew unlink [email protected] && brew link --force [email protected]`
210
216
- Refer to the [Changelog](./CHANGELOG.md) for recent updates and fixes
211
217
218
+
### Repository Setup for RHEL/Fedora Systems
219
+
220
+
If you encounter "PHP packages not found" errors on RHEL-family distributions, phpvm will automatically provide setup instructions. You can also manually enable the required repositories:
phpvm features comprehensive testing across multiple platforms and scenarios. The project includes extensive GitHub Actions workflows that test every aspect of the script.
0 commit comments