How can PHP files be executed in a standalone manner without modifying their internal references to includes and requires?

When executing PHP files in a standalone manner without modifying their internal references to includes and requires, you can use the `auto_prepend_file` directive in the php.ini file to automatically include a file before the execution of the PHP script. This file can contain the necessary include and require statements to ensure that the script runs properly.

// File: auto_prepend.php
<?php
require_once 'path/to/required_file.php';
require_once 'path/to/another_required_file.php';
?>

// In php.ini file
auto_prepend_file = "/path/to/auto_prepend.php"