You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/env/CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@
16
16
17
17
### New Features
18
18
19
+
- Added `phpmyadmin` boolean configuration option to enable phpMyAdmin. Setting `phpmyadminPort` also enables phpMyAdmin for backward compatibility.
20
+
- Added phpMyAdmin support to the Playground runtime. When enabled, phpMyAdmin is available at `http://localhost:<port>/phpmyadmin`.
19
21
- Added `status` command that shows comprehensive environment information including running state, URLs, ports, configuration, and paths.
20
22
- Added `--config` global option to specify a custom configuration file path, enabling multiple parallel environments from the same directory.
21
23
- Added `testsEnvironment` configuration option. Set to `false` to skip creating test containers (`tests-mysql`, `tests-wordpress`, `tests-cli`, `tests-phpmyadmin`), reducing resource usage when test isolation is achieved via separate config files.
@@ -596,7 +596,8 @@ You can customize the WordPress installation, plugins and themes that the develo
596
596
|`"config"`|`Object`| See below. | Mapping of wp-config.php constants to their desired values. |
597
597
|`"mappings"`|`Object`|`"{}"`| Mapping of WordPress directories to local directories to be mounted in the WordPress instance. |
598
598
|`"mysqlPort"`|`integer`|`null` (randomly assigned) | The MySQL port number to expose. |
599
-
|`"phpmyadminPort"`|`integer`|`null`| The port number for phpMyAdmin. If provided, you'll access phpMyAdmin through: http://localhost:<port> |
599
+
|`"phpmyadmin"`|`boolean`|`false`| Whether to enable phpMyAdmin for database management. |
600
+
|`"phpmyadminPort"`|`integer`|`null` (randomly assigned) | The port number for phpMyAdmin (Docker only). Setting this also enables phpMyAdmin. |
600
601
|`"multisite"`|`boolean`|`false`| Whether to set up a multisite installation. |
601
602
|`"lifecycleScripts"`|`Object`|`"{}"`| Mapping of commands that should be executed at certain points in the lifecycle. |
602
603
@@ -785,7 +786,7 @@ You can tell `wp-env` to use a custom port number so that your instance does not
785
786
These can also be set via environment variables:
786
787
787
788
-`WP_ENV_PORT` to override the web server's port.
788
-
- phpMyAdmin is not enabled by default, but its port can also be overridden via `WP_ENV_PHPMYADMIN_PORT`.
789
+
- phpMyAdmin is not enabled by default. Enable it with `"phpmyadmin": true` in `.wp-env.json`. The Docker runtime port can also be overridden via `WP_ENV_PHPMYADMIN_PORT`.
789
790
- By default, MySQL isn't exposed to the host, which means no chance of port conflicts. But this can also be overridden via `WP_ENV_MYSQL_PORT`.
0 commit comments