I have a PHP html script which load the autoloaded libraries from composer:
<?php
require_once "vendor/autoload.php";
?>
<html>
<body>
Test
</body>
</html>
When i'm browsing to this file using Chrome - I see nothing (the file is in Apache's /var/www folder)
When i'm running CLI php index.php
I get the following output:
<html>
<body>
Test
</body>
</html>
When i'm commenting out the require_once
line - I see the html in the browser.
This make me things that something in the libraries i'm loading is breaking the code.
I can't understand why I see the full page in CLI and not in the browser...
What can cause that?