Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"PHP is compiled or limited to using 32-bit integers" #44

Open
mglaman opened this issue Jul 9, 2024 · 5 comments
Open

"PHP is compiled or limited to using 32-bit integers" #44

mglaman opened this issue Jul 9, 2024 · 5 comments
Labels
php-wasm Requires work in upstream php-wasm package

Comments

@mglaman
Copy link
Owner

mglaman commented Jul 9, 2024

We need to work on seanmorris/php-wasm#44 to fix 2038 problem

@mglaman mglaman added the php-wasm Requires work in upstream php-wasm package label Jul 9, 2024
@mglaman
Copy link
Owner Author

mglaman commented Jul 19, 2024

With seanmorris/php-wasm#48 and seanmorris/php-wasm#49 I've got builds running locally to try toggling WASM_BIGINT and MEMORY64 for this.

@mglaman
Copy link
Owner Author

mglaman commented Jul 25, 2024

WASM_BIGINT flag did not work.

@mglaman
Copy link
Owner Author

mglaman commented Aug 30, 2024

This patch allows silencing the warning: https://github.com/mglaman/wasm-drupal/blob/main/patches/system-reqs-wasm.patch

@seanmorris
Copy link

@mglaman I was interested in exploring WASM64 but haven't had time recently. What issues did you run into?

@mglaman
Copy link
Owner Author

mglaman commented Oct 9, 2024

I didn't get far with WASM64, I just tried the big int support. It didn't "just work" so I bailed. I had errors along the way. I didn't spend too much time on it due to competing priorities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
php-wasm Requires work in upstream php-wasm package
Projects
None yet
Development

No branches or pull requests

2 participants