Open lgersman opened 3 months ago
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
wp-content
blueprint.json
"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.
--php=8.3
Example repo (using the workaround) : https://github.com/lgersman/wordpress-contribution-day-2024-wp-now
The preferred php version from blueprint will be ignored in wp-content mode.
If I use the
wp-content
mode and myblueprint.json
containswp-now will ignore the php version :
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