title: Are there any aspects of php that could cause a page to fail loading before the first line is executed?
body: <p>Basically what I have is a simple log-in form (index.php) which routes to a login.php for db processing. However whenever I run my web app and submit log-in details via index.php form, I always get stuck with a "this page isn't working" error with login.php as the url (even though the first line in login.php is an opening php tag, and the second is a die() function printing out a message[the message is never displayed when the page fails])</p>
  
  <p><a href="https://i.stack.imgur.com/HYbnG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HYbnG.png" alt="Page-Load Fail"></a></p>
  
  <p>Is there something else that could cause the page load to fail even though by design the first thing I'm aaware that should be happening is that the die function would be executed, thus producing my desired on-screen message?</p>
  
  <p>First 2 lines of login.php</p>
  
  <pre><code>&lt;?php
  die("line 2 of login.php");
  </code></pre>