File Browser

/wordpress/wp-config.php

1 <?php define( 'CONCATENATE_SCRIPTS', false );
2 /**
3  * The base configuration for WordPress.
4  * Database settings are generated inside Playground.
5  */
6 define( 'DB_NAME', 'database_name_here' );
7 define( 'DB_USER', 'username_here' );
8 define( 'DB_PASSWORD', 'password_here' );
9 define( 'DB_HOST', 'localhost' );
10 define( 'DB_CHARSET', 'utf8mb4' );
11 define( 'DB_COLLATE', '' );
12 /* Authentication unique keys and salts. */

Blueprint Bundle

/blueprint.json

1 {
2   "$schema": "https://playground.wordpress.net/blueprint-schema.json",
3   "meta": {
4     "title": "Playground Welcome Page",
5     "description": "Landing page for WordPress Playground",
6     "author": "fellyph",
7     "categories": [ "meta" ]
8   },
9   "login": true,
10  "landingPage": "/hello-from-playground/",
11  "steps": [
12    { "step": "runPHPWithOptions", "options": { "code": "<?php" } }
13  ],
14  "preferredVersions": { "php": "8.3", "wp": "latest" }
15 }

Database

SQLite store for MySQL emulation

Database management is an early access feature

WordPress Playground emulates MySQL using SQLite. The database tools are work in progress and link to the GitHub issue tracker.

Database driverMySQL emulation backed by SQLite
SQLite database path/wordpress/wp-content/database/.ht.sqlite
Size452 KB
TableRowsChanged
wp_posts11Today
wp_options187Today
wp_users1Install

Logs

Runtime output

No problems so far Playground, WordPress, and PHP logs will appear here.
[playground] booted WordPress latest with PHP 8.3
[wordpress] admin user logged in for demo editing
[php] no warnings or fatal errors recorded

Environment

Version, language, and network settings

Stored Playgrounds have limited configuration options. Unsaved Playgrounds reset destructively when settings are applied.

PHP 8.3 WordPress latest Network allowed Blueprint ready