title: PhantomJS doesn't work in PHP through browser (but does via command line, and even by running PHP through command line)
body: <p>I'm trying to get PhantomJS to run via PHP.</p>
  
  <p>When I run the JavaScript file directly through the command line, it works fine. When I run <code>php render_html.php</code> in the command line, which just runs an exec(), it works fine. However, when I try opening this php file in the browser, it does nothing. I don't even get anything back to echo.</p>
  
  <p>I've done all this testing locally on OS X, and on my EC2 server, and I get the same result.</p>