-
Notifications
You must be signed in to change notification settings - Fork 270
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
Local Environment: Add ability to specify the PHP version with a parameter #232
Comments
danielbachhuber
changed the title
Local environment: change the PHP version passed as a parameter
Local environment: Add ability to specify the PHP version with a parameter
May 2, 2023
danielbachhuber
changed the title
Local environment: Add ability to specify the PHP version with a parameter
Local Environment: Add ability to specify the PHP version with a parameter
May 2, 2023
Pookie717
added a commit
to Pookie717/wordpress-playground
that referenced
this issue
Oct 1, 2023
* wp-now: create dummy commands and new package * wp-now: re-create wp-now folders using nx * wp-now: execute php code example * wp-now: add connect node proxy to php runtime * wp-now: download latest wp zip in .wp-now dir * wp-now: download wordpress and proxy requests fixing location * wp-now: remove unused run method * wp-now: clean unused imports * wp-now: css fixed, redirect fixed * wp-now: setup sqlite * wp-now: use express and change the response to bytes * wp-now: rename download lib * wp-now: add sqlite funciton * wp-now: move sqlite logic to nodejs and unify paths * wp-now: split create-server run-cli logic * wp-now: update yarn lock * wp-now: import HTTPMethod from abstract * wp-now: avoid importing abstract * wp-now: remove async from mountSqlite * wp-now: clean unnecesary cli * wp-now: fix imports after merge using NodePHP and universal * wp-now: change build phase to esbuild module * wp-now: remove clear console lines * wp-now: use portFinder for open port source of truth * wp-now: receive path as paramter * wp-now: accept path and mode, enable plugin mode * wp-now: infer mode plugin, theme, index or core * wp-now: infer mode static directory * wp-now: rename patchFile to updateFile * wp-now: add comments to constants * wp-now: reduce amount of child folders for sqlite * wp-now: run always wp-now cli mode Exmaple: nx preview wp-now start --path=/Users/macbookpro/gutenberg * wp-now: use path as a parameter instead of cwd() * wp-now: fix code style * wp-now: remove unnecessary log port number * wp-now: update SQLite plugin name under quotes * wp-now: remove node env suggestion from run-cli * wp-now: project.json run commands sequentially * wp-now: rename wordpress versions path * wp-now: fix code style * wp-now: rename requestBodyToMultipartFormData * wp-now: reuse defineSiteUrl * wp-now: include a WP-NOW Readme and copy it to dist * wp-now: improve the readme redaction * wp-now: improve the readme redaction * wp-now: add phpVersion parameter Closes: WordPress/wordpress-playground#232 * wp-now: fix code style * wp-now: default mode is index * wp-now: fix code style * wp-now: use dashes for wordpress-versions folder * wp-now: update readme * wp-now: remove wp-content argument to use only home directory * wp-now: rename phpVersion argument name to php * wp-now: pass php version value from php argument
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Accept the parameter `--php=p to change the PHP version.
Currently, we are using the PHP version 8.0 but playground has built more versions. Include all the PHP versions that are supproted.
Done is:
nx preview wp-now start --phpVersion=7.4
will start the webserver with the specified PHP version.The text was updated successfully, but these errors were encountered: