Changes

Jump to: navigation, search

OPS705 Assignment 2

130 bytes added, 21:30, 29 March 2023
Adding Database Connector Info as Environment Variables
=== Adding Database Connector Info as Environment Variables ===
[[Image:Ops705_a2_wp-config-example.png|thumb|right|350px|Figure 1: Adding database connector information to ''wp-config.php''.]]
In this file (wp-config.php), you will be adding database connector information as '''environment variables''', not the actual connector information. (We'll add that information later.) Find the following lines and add the bolded values:
# define('DB_NAME', '''getenv('DB_NAME'))''';

Navigation menu