I am creating a login page for a website using PHP. I added "session_start();" as seen below to start the session. Then I put the rest of the websites code below it (other php, html, etc). Whenever I use session_start, the program stops executing and shows a blank page. Also, the page displays error 500 on some browsers. I'm not sure if this is a permission problem.
How do I properly use session_start()? My code is below. When I run it it shows a blank screen. When I comment out session_start(); it prints "Working...".
<?php
session_start();
echo "Working...";
?>