aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-02-16 01:36:46 +0900
committernsfisis <nsfisis@gmail.com>2026-02-16 01:36:46 +0900
commitfa60c26fe580bbf6ae01743c9ae831cb030d2b8d (patch)
treefd2c90c53762840dd535ba8bddd98859e82fd334 /Dockerfile
parentaf78ada00c645a98b3e149b206cfe75daf9d1aed (diff)
downloadtiny-php.wasm-fa60c26fe580bbf6ae01743c9ae831cb030d2b8d.tar.gz
tiny-php.wasm-fa60c26fe580bbf6ae01743c9ae831cb030d2b8d.tar.zst
tiny-php.wasm-fa60c26fe580bbf6ae01743c9ae831cb030d2b8d.zip
disable opcache-jit
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Dockerfile b/Dockerfile
index d72b0ae..f50804d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,20 +16,19 @@ RUN cd php-src && \
./buildconf --force && \
emconfigure ./configure \
--disable-all \
- --disable-mbregex \
- --disable-fiber-asm \
- --disable-cli \
--disable-cgi \
+ --disable-cli \
+ --disable-fiber-asm \
+ --disable-opcache-jit \
--disable-phpdbg \
--enable-embed=static \
- --enable-mbstring \
--without-iconv \
--without-libxml \
--without-pcre-jit \
--without-pdo-sqlite \
--without-sqlite3 \
&& \
- EMCC_CFLAGS='-s ERROR_ON_UNDEFINED_SYMBOLS=0 -D ZEND_MM_ERROR=0' emmake make -j$(nproc) && \
+ EMCC_CFLAGS='-D ZEND_MM_ERROR=0' emmake make -j$(nproc) && \
mv libs/libphp.a .. && \
make clean && \
git clean -fd && \