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. */
File Browser
/wordpress/wp-config.php
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
| Table | Rows | Changed |
|---|---|---|
| wp_posts | 11 | Today |
| wp_options | 187 | Today |
| wp_users | 1 | Install |
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