Commit 0f293aa
chore: replace PECL with apt for xdebug installation (#132)
The startup script was failing when trying to install xdebug via PECL
with the error "No releases for package 'pecl/xdebug' exist". This was
caused by PECL configuration issues or missing build dependencies.
Changes:
- Removed PECL/php-pear installation logic
- Replaced with direct apt installation of php-xdebug
- Auto-detects PHP version to install correct package (e.g.,
php8.4-xdebug)
- Added proper verification that xdebug module is loaded
- Improved error handling and user feedback
This approach is more reliable as it uses pre-built packages from the
ondrej/php PPA instead of compiling from source.
Co-authored-by: Claude <noreply@anthropic.com>1 parent 638c6cd commit 0f293aa
1 file changed
+13
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | | - | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
49 | | - | |
50 | | - | |
| 51 | + | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
54 | | - | |
| 56 | + | |
55 | 57 | | |
56 | | - | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | | - | |
60 | | - | |
61 | 61 | | |
0 commit comments