We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc7221d commit 78b529eCopy full SHA for 78b529e
2 files changed
ChangeLog.md
@@ -3,6 +3,12 @@ AWS Lambda change log
3
4
## ?.?.? / ????-??-??
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
12
## 6.0.0 / 2025-05-04
13
14
* **Heads up:** Dropped support for PHP < 7.4, see xp-framework/rfc#343
src/main/php/xp/lambda/Dockerfile.runtime
@@ -34,4 +34,6 @@ RUN curl -L https://baltocdn.com/xp-framework/xp-runners/distribution/downloads/
34
&& chmod 755 /opt/php/bootstrap \
35
&& head -1 /opt/php/bootstrap | grep '^#!'
36
37
-RUN cd /opt/php && strip bin/php && zip -9 runtime.zip bin/php bootstrap
+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
0 commit comments