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

wp-now: preferred php version from blueprint.json will be ignored in wp-content mode #302

Open
lgersman opened this issue Jun 13, 2024 · 0 comments

Comments

@lgersman
Copy link

The preferred php version from blueprint will be ignored in wp-content mode.

If I use the wp-content mode and my blueprint.json contains

"preferredVersions": {
  "php": "8.3",
  "wp": "latest"
},

wp-now will ignore the php version :

Starting the server......
directory: ./packages/wp-content
mode: wp-content
php: 8.0
wp: latest
WordPress latest folder already exists. Skipping download.
SQLite folder already exists. Skipping download.

The workaround is to add --php=8.3 to the start command.

Example repo (using the workaround) : https://github.com/lgersman/wordpress-contribution-day-2024-wp-now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant