How can one ensure that a PHPBB forum installation does not overwrite other files on the server?

When installing a PHPBB forum, one way to ensure that it does not overwrite other files on the server is to specify a custom directory for the installation rather than using the default directory. This can help prevent any accidental overwriting of important files on the server.

// Example of specifying a custom directory for PHPBB installation
define('PHPBB_ROOT_PATH', '/path/to/custom/directory/');