0
0
Wordpressframework~10 mins

Local development setup (Local, XAMPP) in Wordpress - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to start the Apache server in XAMPP control panel.

Wordpress
Click the [1] button next to Apache to start the server.
Drag options to blanks, or click blank then click option'
ARestart
BStop
CStart
DConfigure
Attempts:
3 left
💡 Hint
Common Mistakes
Clicking 'Stop' instead of 'Start'
Confusing Apache with MySQL service
2fill in blank
medium

Complete the code to access the local WordPress site in your browser.

Wordpress
Open your browser and go to http://[1]/ to see your WordPress site.
Drag options to blanks, or click blank then click option'
Awordpress.local
B127.0.0.1
C192.168.1.1
Dlocalhost
Attempts:
3 left
💡 Hint
Common Mistakes
Using external IP addresses
Typing 'wordpress.local' without setup
3fill in blank
hard

Fix the error in the wp-config.php file to connect to the local database.

Wordpress
define('DB_NAME', '[1]');
Drag options to blanks, or click blank then click option'
Aroot
Bwordpress_db
Clocalhost
Dwp_database
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'root' which is a username
Using 'localhost' which is a host
4fill in blank
hard

Complete the code to set the database username and password in wp-config.php.

Wordpress
define('DB_USER', '[1]');
define('DB_PASSWORD', '');
Drag options to blanks, or click blank then click option'
Aroot
Cadmin
Dpassword123
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'admin' as username
Setting a password when none is set
5fill in blank
hard

Fill all three blanks to create a new database in phpMyAdmin using SQL.

Wordpress
CREATE DATABASE [1] CHARACTER SET [2] COLLATE [3];
Drag options to blanks, or click blank then click option'
Awordpress_db
Butf8mb4
Cutf8mb4_general_ci
Dlatin1
Attempts:
3 left
💡 Hint
Common Mistakes
Using latin1 which is outdated
Wrong collation causing character issues