Skip to content

Support PHP 8.3 #820

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

Closed
adamziel opened this issue Nov 29, 2023 · 0 comments · Fixed by #829
Closed

Support PHP 8.3 #820

adamziel opened this issue Nov 29, 2023 · 0 comments · Fixed by #829

Comments

@adamziel
Copy link
Collaborator

adamziel commented Nov 29, 2023

#829

PHP 8.3 was just released recently, let's support it in Playground.

https://www.php.net/releases/8.3/en.php#:~:text=PHP%208.3%20is%20a%20major,Upgrade%20to%20PHP%208.3%20now!

Done is

  • The web version of Playground offers PHP 8.3 in its version switcher
  • The node version of Playground runs PHP 8.3 when PHP=8.3 env is specified
@adamziel adamziel self-assigned this Dec 1, 2023
adamziel added a commit that referenced this issue Dec 2, 2023
Adds PHP 8.3 to Playground.

Closes #820

<img width="1221" alt="CleanShot 2023-12-01 at 11 52 32@2x"
src="https://github.com/WordPress/wordpress-playground/assets/205419/3008499a-f0d1-42a0-af3f-24d83e221329">

## Testing Instructions

1. Go to http://localhost:5400/website-server/ and switch the PHP
version to 8.3.
2. Confirm that WordPress is functional and you can update the site in
the site editor
3. Go to `/phpinfo.php`, confirm the php version it 8.3
4. Update settings to run with additional PHP extensions and networking
support
5. Confirm that WordPress is functional, you can update the site in the
site editor, and the plugin directory shows plugins and you can install
them
6. Go to `/phpinfo.php`, confirm the php version it 8.3
7. In CLI, run `PHP=8.3 nx run php-wasm-cli:start -- -i` and confirm the
PHP version presented on the screen is 8.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant