Not a thing to do with PHP. Moving to Apache configurations.
If you issue a redirect, it will follow it. Use rewrite if you don't want to make the url appear to change. Not sure how you want to formulate the matching, with the example you have here a simple:
RewriteRule /page/test/hello$ environment_test.php