php function file_get_contents return 500 internal server error

I’m getting this internal server error It’s really so strange because i have enabled allow_url_fopen in my php.ini and i’m just doing a file_get_contents to a php file. My php script is this: index.php <?php include ‘php/head.php’; ?> <p>Hello</p> <?php include ‘php/footer.php’; ?> head.php <?php $host = $_SERVER[‘HTTP_HOST’]; $uri = rtrim(dirname($_SERVER[‘PHP_SELF’]), ‘/\\’); $base = “http://”…

Details