Don’t forget: when you change pear settings as root, usually you want to set values in the system pear config, not in root’s personal config. The crucial third parameter is optional and defaults to ‘user’. We want ‘system’ instead
pear config-set test_dir /usr/share/php/tests systems
verify:
pear config-show