GeezerVison is showing github.com — Remove default memory limit · xp-forge/lambda@78b529e
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: ChangeLog.md +6Lines changed: 6 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3,6 +3,12 @@ AWS Lambda change log |
3 | 3 |
|
4 | 4 | ## ?.?.? / ????-??-?? |
5 | 5 |
|
| 6 | +## 6.1.0 / 2025-07-24 |
| 7 | + |
| 8 | +* Removed default memory limit for PHP, let lambda infrastructure take |
| 9 | + care of it. See issue #27 |
| 10 | + (@thekid) |
| 11 | + |
6 | 12 | ## 6.0.0 / 2025-05-04 |
7 | 13 |
|
8 | 14 | * **Heads up:** Dropped support for PHP < 7.4, see xp-framework/rfc#343 |
|
Collapse file
Copy file name to clipboardExpand all lines: src/main/php/xp/lambda/Dockerfile.runtime +3-1Lines changed: 3 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -34,4 +34,6 @@ RUN curl -L https://baltocdn.com/xp-framework/xp-runners/distribution/downloads/ |
34 | 34 | && chmod 755 /opt/php/bootstrap \ |
35 | 35 | && head -1 /opt/php/bootstrap | grep '^#!' |
36 | 36 |
|
37 | | -RUN cd /opt/php && strip bin/php && zip -9 runtime.zip bin/php bootstrap |
| 37 | +RUN echo "memory_limit=-1" > /opt/php/bin/php.ini |
| 38 | + |
| 39 | +RUN cd /opt/php && strip bin/php && zip -9 runtime.zip bin/php bin/php.ini bootstrap |