Skip to content

Commit

Permalink
Adding PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmorris committed Nov 28, 2024
1 parent 191634f commit 591fa35
Show file tree
Hide file tree
Showing 54 changed files with 45 additions and 26 deletions.
16 changes: 13 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ $(error BROTLI MUST BE 0, 1. PLEASE CHECK YOUR SETTINGS FILE: $(abspath ${ENV_FI
endif

## PHP Version
PHP_VERSION?=8.3
PHP_VERSION?=${PHP_VERSION_DEFAULT}

ifeq ($(filter ${PHP_VERSION},8.3 8.2 8.1 8.0),)
$(error PHP_VERSION MUST BE 8.3, 8.2, 8.1 or 8.0. PLEASE CHECK YOUR SETTINGS FILE: $(abspath ${ENV_FILE}))
ifeq ($(filter ${PHP_VERSION},8.4 8.3 8.2 8.1 8.0),)
$(error PHP_VERSION MUST BE 8.4, 8.3, 8.2, 8.1 or 8.0. PLEASE CHECK YOUR SETTINGS FILE: $(abspath ${ENV_FILE}))
endif

## More Options
Expand Down Expand Up @@ -178,6 +178,12 @@ PRE_JS_FILES+= ${EXTRA_PRE_JS_FILES}

TEST_LIST=

ifeq (${PHP_VERSION},8.4)
PHP_VERSION_FULL=8.4.1
PHP_BRANCH=php-${PHP_VERSION_FULL}
PHP_AR=libphp
endif

ifeq (${PHP_VERSION},8.3)
PHP_VERSION_FULL=8.3.7
PHP_BRANCH=php-${PHP_VERSION_FULL}
Expand Down Expand Up @@ -704,6 +710,10 @@ third_party/php${PHP_VERSION}-src/scripts/phpize-built: ${DEPENDENCIES} | ${ORDE
${DOCKER_RUN_IN_PHP} chmod +x scripts/phpize
${DOCKER_RUN_IN_PHP} touch scripts/phpize-built

patch/php8.4.patch:
bash -c 'cd third_party/php8.4-src/ && git diff > ../../patch/php8.4.patch'
perl -pi -w -e 's|([ab])/|\1/third_party/php8.4-src/|g' ./patch/php8.4.patch

patch/php8.3.patch:
bash -c 'cd third_party/php8.3-src/ && git diff > ../../patch/php8.3.patch'
perl -pi -w -e 's|([ab])/|\1/third_party/php8.3-src/|g' ./patch/php8.3.patch
Expand Down
5 changes: 3 additions & 2 deletions demo-web/.php-wasm-rc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PHP_ASSET_DIR=public

ASSERTIONS=0
SYMBOLS=0
PHP_VERSION=8.3
PHP_VERSION=8.4
OPTIMIZE=3
SUB_OPTIMIZE=s

Expand Down Expand Up @@ -58,8 +58,9 @@ WITH_OPENSSL=1
WITH_INTL=1

WITH_PHAR=dynamic
WITH_PHAR=0

WITH_LIBXML=dynamic
WITH_LIBXML=shared
WITH_LIBZIP=dynamic
WITH_ICONV=dynamic
WITH_SQLITE=dynamic
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion demo-web/public/cgi-worker.js

Large diffs are not rendered by default.

Binary file modified demo-web/public/libcrypto.so
Binary file not shown.
Binary file added demo-web/public/php8.4-dom.so
Binary file not shown.
Binary file added demo-web/public/php8.4-gd.so
Binary file not shown.
Binary file added demo-web/public/php8.4-iconv.so
Binary file not shown.
Binary file added demo-web/public/php8.4-intl.so
Binary file not shown.
Binary file added demo-web/public/php8.4-mbstring.so
Binary file not shown.
Binary file added demo-web/public/php8.4-openssl.so
Binary file not shown.
Binary file added demo-web/public/php8.4-pdo-sqlite.so
Binary file not shown.
Binary file added demo-web/public/php8.4-phar.so
Binary file not shown.
Binary file added demo-web/public/php8.4-simplexml.so
Binary file not shown.
Binary file added demo-web/public/php8.4-sqlite.so
Binary file not shown.
Binary file added demo-web/public/php8.4-tidy.so
Binary file not shown.
Binary file added demo-web/public/php8.4-xml.so
Binary file not shown.
Binary file added demo-web/public/php8.4-yaml.so
Binary file not shown.
Binary file added demo-web/public/php8.4-zip.so
Binary file not shown.
Binary file added demo-web/public/php8.4-zlib.so
Binary file not shown.
4 changes: 4 additions & 0 deletions demo-web/src/Embedded.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import { PhpWeb } from 'php-wasm/PhpWeb';
import { createRoot } from 'react-dom/client';
import Confirm from './Confirm';

console.log(PhpWeb.phpVersion);
console.log(PhpWeb.phpVersionFull);

const sharedLibs = [
`php${PhpWeb.phpVersion}-zlib.so`,
`php${PhpWeb.phpVersion}-zip.so`,
Expand All @@ -20,6 +23,7 @@ const sharedLibs = [
`php${PhpWeb.phpVersion}-mbstring.so`,
`php${PhpWeb.phpVersion}-sqlite.so`,
`php${PhpWeb.phpVersion}-pdo-sqlite.so`,
`php${PhpWeb.phpVersion}-phar.so`,
`php${PhpWeb.phpVersion}-xml.so`,
`php${PhpWeb.phpVersion}-simplexml.so`,
{url: `libs/libxml2.so`, ini:false},
Expand Down
2 changes: 1 addition & 1 deletion docs/404.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/php-wasm/favicon.ico"/><meta name="viewport" content="width=650,user-scalable=no"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/php-wasm/logo192.png"/><link rel="manifest" href="/php-wasm/manifest.json"/><title>php-wasm</title><script type="text/javascript" src="https://unpkg.com/curvature@0.0.68-h/dist/curvature.js"></script><script defer="defer" src="/php-wasm/static/js/main.2ce74b59.js"></script><link href="/php-wasm/static/css/main.9114cb59.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html><!--
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/php-wasm/favicon.ico"/><meta name="viewport" content="width=650,user-scalable=no"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/php-wasm/logo192.png"/><link rel="manifest" href="/php-wasm/manifest.json"/><title>php-wasm</title><script type="text/javascript" src="https://unpkg.com/curvature@0.0.68-h/dist/curvature.js"></script><script defer="defer" src="/php-wasm/static/js/main.64ff368e.js"></script><link href="/php-wasm/static/css/main.9114cb59.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html><!--
sssooo+++++++///////++++//:----:::::///////:::::::///+ossssssyyyhdddddmmmmNNmo`````````````````````-
soooo+//////::::::::////:-....-----::::::----------:/+ossyyyyhdhddmmmmNNMNNNN: .
soo++//:::---------:://::-----..------.-.........--:/+ossyyhddmmddmmNNNNMMNNm. .
Expand Down
Binary file not shown.
8 changes: 4 additions & 4 deletions docs/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"files": {
"main.css": "/php-wasm/static/css/main.9114cb59.css",
"main.js": "/php-wasm/static/js/main.2ce74b59.js",
"main.js": "/php-wasm/static/js/main.64ff368e.js",
"static/js/835.ba3f1ffc.chunk.js": "/php-wasm/static/js/835.ba3f1ffc.chunk.js",
"static/js/97.c6261c0f.chunk.js": "/php-wasm/static/js/97.c6261c0f.chunk.js",
"static/js/330.c76e5618.chunk.js": "/php-wasm/static/js/330.c76e5618.chunk.js",
Expand All @@ -11,7 +11,7 @@
"static/js/574.49428a7c.chunk.js": "/php-wasm/static/js/574.49428a7c.chunk.js",
"static/js/40.9229f9f2.chunk.js": "/php-wasm/static/js/40.9229f9f2.chunk.js",
"static/js/622.dfd05a2c.chunk.js": "/php-wasm/static/js/622.dfd05a2c.chunk.js",
"static/media/php-web.mjs.wasm": "/php-wasm/static/media/php-web.mjs.6d65c25ae045e78a850e.wasm",
"static/media/php-web.mjs.wasm": "/php-wasm/static/media/php-web.mjs.12e2dc81bf6a90854f60.wasm",
"static/media/postgres.wasm": "/php-wasm/static/media/postgres.a28dc5fef609f15836f3.wasm",
"static/media/postgres.data": "/php-wasm/static/media/postgres.50ee79fa149a7ae743ea.data",
"worker-xquery.js": "/php-wasm/16470d85f9e6b184411b622ce1783fd0.js",
Expand Down Expand Up @@ -503,12 +503,12 @@
"d.js": "/php-wasm/c98e74fc97b04fe8bf43dcdff549afcf.js",
"mode-text.js": "/php-wasm/0ffb18fb70c87335edee31a479f58a43.js",
"main.9114cb59.css.map": "/php-wasm/static/css/main.9114cb59.css.map",
"main.2ce74b59.js.map": "/php-wasm/static/js/main.2ce74b59.js.map",
"main.64ff368e.js.map": "/php-wasm/static/js/main.64ff368e.js.map",
"331.b658539f.chunk.js.map": "/php-wasm/static/js/331.b658539f.chunk.js.map",
"774.54b28235.chunk.js.map": "/php-wasm/static/js/774.54b28235.chunk.js.map"
},
"entrypoints": [
"static/css/main.9114cb59.css",
"static/js/main.2ce74b59.js"
"static/js/main.64ff368e.js"
]
}
2 changes: 1 addition & 1 deletion docs/cgi-worker.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/code-editor.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/php-wasm/favicon.ico"/><meta name="viewport" content="width=650,user-scalable=no"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/php-wasm/logo192.png"/><link rel="manifest" href="/php-wasm/manifest.json"/><title>php-wasm</title><script type="text/javascript" src="https://unpkg.com/curvature@0.0.68-h/dist/curvature.js"></script><script defer="defer" src="/php-wasm/static/js/main.2ce74b59.js"></script><link href="/php-wasm/static/css/main.9114cb59.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html><!--
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/php-wasm/favicon.ico"/><meta name="viewport" content="width=650,user-scalable=no"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/php-wasm/logo192.png"/><link rel="manifest" href="/php-wasm/manifest.json"/><title>php-wasm</title><script type="text/javascript" src="https://unpkg.com/curvature@0.0.68-h/dist/curvature.js"></script><script defer="defer" src="/php-wasm/static/js/main.64ff368e.js"></script><link href="/php-wasm/static/css/main.9114cb59.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html><!--
sssooo+++++++///////++++//:----:::::///////:::::::///+ossssssyyyhdddddmmmmNNmo`````````````````````-
soooo+//////::::::::////:-....-----::::::----------:/+ossyyyyhdhddmmmmNNMNNNN: .
soo++//:::---------:://::-----..------.-.........--:/+ossyyhddmmddmmNNNNMMNNm. .
Expand Down
2 changes: 1 addition & 1 deletion docs/embedded-php.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/php-wasm/favicon.ico"/><meta name="viewport" content="width=650,user-scalable=no"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/php-wasm/logo192.png"/><link rel="manifest" href="/php-wasm/manifest.json"/><title>php-wasm</title><script type="text/javascript" src="https://unpkg.com/curvature@0.0.68-h/dist/curvature.js"></script><script defer="defer" src="/php-wasm/static/js/main.2ce74b59.js"></script><link href="/php-wasm/static/css/main.9114cb59.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html><!--
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/php-wasm/favicon.ico"/><meta name="viewport" content="width=650,user-scalable=no"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/php-wasm/logo192.png"/><link rel="manifest" href="/php-wasm/manifest.json"/><title>php-wasm</title><script type="text/javascript" src="https://unpkg.com/curvature@0.0.68-h/dist/curvature.js"></script><script defer="defer" src="/php-wasm/static/js/main.64ff368e.js"></script><link href="/php-wasm/static/css/main.9114cb59.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html><!--
sssooo+++++++///////++++//:----:::::///////:::::::///+ossssssyyyhdddddmmmmNNmo`````````````````````-
soooo+//////::::::::////:-....-----::::::----------:/+ossyyyyhdhddmmmmNNMNNNN: .
soo++//:::---------:://::-----..------.-.........--:/+ossyyhddmmddmmNNNNMMNNm. .
Expand Down
2 changes: 1 addition & 1 deletion docs/home.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/php-wasm/favicon.ico"/><meta name="viewport" content="width=650,user-scalable=no"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/php-wasm/logo192.png"/><link rel="manifest" href="/php-wasm/manifest.json"/><title>php-wasm</title><script type="text/javascript" src="https://unpkg.com/curvature@0.0.68-h/dist/curvature.js"></script><script defer="defer" src="/php-wasm/static/js/main.2ce74b59.js"></script><link href="/php-wasm/static/css/main.9114cb59.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html><!--
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/php-wasm/favicon.ico"/><meta name="viewport" content="width=650,user-scalable=no"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/php-wasm/logo192.png"/><link rel="manifest" href="/php-wasm/manifest.json"/><title>php-wasm</title><script type="text/javascript" src="https://unpkg.com/curvature@0.0.68-h/dist/curvature.js"></script><script defer="defer" src="/php-wasm/static/js/main.64ff368e.js"></script><link href="/php-wasm/static/css/main.9114cb59.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html><!--
sssooo+++++++///////++++//:----:::::///////:::::::///+ossssssyyyhdddddmmmmNNmo`````````````````````-
soooo+//////::::::::////:-....-----::::::----------:/+ossyyyyhdhddmmmmNNMNNNN: .
soo++//:::---------:://::-----..------.-.........--:/+ossyyhddmmddmmNNNNMMNNm. .
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/php-wasm/favicon.ico"/><meta name="viewport" content="width=650,user-scalable=no"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/php-wasm/logo192.png"/><link rel="manifest" href="/php-wasm/manifest.json"/><title>php-wasm</title><script type="text/javascript" src="https://unpkg.com/curvature@0.0.68-h/dist/curvature.js"></script><script defer="defer" src="/php-wasm/static/js/main.2ce74b59.js"></script><link href="/php-wasm/static/css/main.9114cb59.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html><!--
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/php-wasm/favicon.ico"/><meta name="viewport" content="width=650,user-scalable=no"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/php-wasm/logo192.png"/><link rel="manifest" href="/php-wasm/manifest.json"/><title>php-wasm</title><script type="text/javascript" src="https://unpkg.com/curvature@0.0.68-h/dist/curvature.js"></script><script defer="defer" src="/php-wasm/static/js/main.64ff368e.js"></script><link href="/php-wasm/static/css/main.9114cb59.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html><!--
sssooo+++++++///////++++//:----:::::///////:::::::///+ossssssyyyhdddddmmmmNNmo`````````````````````-
soooo+//////::::::::////:-....-----::::::----------:/+ossyyyyhdhddmmmmNNMNNNN: .
soo++//:::---------:://::-----..------.-.........--:/+ossyyhddmmddmmNNNNMMNNm. .
Expand Down
2 changes: 1 addition & 1 deletion docs/install-demo.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/php-wasm/favicon.ico"/><meta name="viewport" content="width=650,user-scalable=no"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/php-wasm/logo192.png"/><link rel="manifest" href="/php-wasm/manifest.json"/><title>php-wasm</title><script type="text/javascript" src="https://unpkg.com/curvature@0.0.68-h/dist/curvature.js"></script><script defer="defer" src="/php-wasm/static/js/main.2ce74b59.js"></script><link href="/php-wasm/static/css/main.9114cb59.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html><!--
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/php-wasm/favicon.ico"/><meta name="viewport" content="width=650,user-scalable=no"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/php-wasm/logo192.png"/><link rel="manifest" href="/php-wasm/manifest.json"/><title>php-wasm</title><script type="text/javascript" src="https://unpkg.com/curvature@0.0.68-h/dist/curvature.js"></script><script defer="defer" src="/php-wasm/static/js/main.64ff368e.js"></script><link href="/php-wasm/static/css/main.9114cb59.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html><!--
sssooo+++++++///////++++//:----:::::///////:::::::///+ossssssyyyhdddddmmmmNNmo`````````````````````-
soooo+//////::::::::////:-....-----::::::----------:/+ossyyyyhdhddmmmmNNMNNNN: .
soo++//:::---------:://::-----..------.-.........--:/+ossyyhddmmddmmNNNNMMNNm. .
Expand Down
Binary file modified docs/libcrypto.so
Binary file not shown.
Binary file added docs/php8.4-dom.so
Binary file not shown.
Binary file added docs/php8.4-gd.so
Binary file not shown.
Binary file added docs/php8.4-iconv.so
Binary file not shown.
Binary file added docs/php8.4-intl.so
Binary file not shown.
Binary file added docs/php8.4-mbstring.so
Binary file not shown.
Binary file added docs/php8.4-openssl.so
Binary file not shown.
Binary file added docs/php8.4-pdo-sqlite.so
Binary file not shown.
Binary file added docs/php8.4-phar.so
Binary file not shown.
Binary file added docs/php8.4-simplexml.so
Binary file not shown.
Binary file added docs/php8.4-sqlite.so
Binary file not shown.
Binary file added docs/php8.4-tidy.so
Binary file not shown.
Binary file added docs/php8.4-xml.so
Binary file not shown.
Binary file added docs/php8.4-yaml.so
Binary file not shown.
Binary file added docs/php8.4-zip.so
Binary file not shown.
Binary file added docs/php8.4-zlib.so
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/select-framework.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/php-wasm/favicon.ico"/><meta name="viewport" content="width=650,user-scalable=no"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/php-wasm/logo192.png"/><link rel="manifest" href="/php-wasm/manifest.json"/><title>php-wasm</title><script type="text/javascript" src="https://unpkg.com/curvature@0.0.68-h/dist/curvature.js"></script><script defer="defer" src="/php-wasm/static/js/main.2ce74b59.js"></script><link href="/php-wasm/static/css/main.9114cb59.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html><!--
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/php-wasm/favicon.ico"/><meta name="viewport" content="width=650,user-scalable=no"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/php-wasm/logo192.png"/><link rel="manifest" href="/php-wasm/manifest.json"/><title>php-wasm</title><script type="text/javascript" src="https://unpkg.com/curvature@0.0.68-h/dist/curvature.js"></script><script defer="defer" src="/php-wasm/static/js/main.64ff368e.js"></script><link href="/php-wasm/static/css/main.9114cb59.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html><!--
sssooo+++++++///////++++//:----:::::///////:::::::///+ossssssyyyhdddddmmmmNNmo`````````````````````-
soooo+//////::::::::////:-....-----::::::----------:/+ossyyyyhdhddmmmmNNMNNNN: .
soo++//:::---------:://::-----..------.-.........--:/+ossyyhddmmddmmNNNNMMNNm. .
Expand Down
3 changes: 0 additions & 3 deletions docs/static/js/main.2ce74b59.js

This file was deleted.

3 changes: 3 additions & 0 deletions docs/static/js/main.64ff368e.js

Large diffs are not rendered by default.

File renamed without changes.

Large diffs are not rendered by default.

Binary file not shown.
1 change: 1 addition & 0 deletions packages/phar/static.mak
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ packages/phar/php${PHP_VERSION}-phar.so: ${PHPIZE} third_party/php${PHP_VERSION}
@ echo -e "\e[33;4mBuilding php-phar\e[0m"
${DOCKER_RUN_IN_EXT_PHAR} chmod +x /src/third_party/php${PHP_VERSION}-src/scripts/phpize;
${DOCKER_RUN_IN_EXT_PHAR} /src/third_party/php${PHP_VERSION}-src/scripts/phpize;
${DOCKER_RUN_IN_EXT_PHAR} sed -i 's#test -f "$$ac_f"#test -f "./$$ac_f"#' configure
${DOCKER_RUN_IN_EXT_PHAR} sed -i 's|#define PHAR_MAIN 1|#define PHAR_MAIN 1\n#include "config.h"|g' phar.c;
${DOCKER_RUN_IN_EXT_PHAR} emconfigure ./configure PKG_CONFIG_PATH=${PKG_CONFIG_PATH} --prefix='/src/lib/php${PHP_VERSION}' --with-openssl=/src/lib --with-php-config=/src/lib/php${PHP_VERSION}/bin/php-config --cache-file=/tmp/config-cache;
${DOCKER_RUN_IN_EXT_PHAR} sed -i 's#-shared#-static#g' Makefile;
Expand Down
Loading

0 comments on commit 591fa35

Please sign in to comment.