title: Run a PHP file in an EC2 instance
body: <p>I created an EC2 instance and use the command line interface to connect to it.</p>
  
  <p>I created a HTML page in the /var/www/html for testing purpose. When I enter my public DNS (taken from my ec2 AWS console) in the Browser, my HTML content is successfully displayed. </p>
  
  <p>I would like to host a PHP file in the EC2 instance which I want to run from java code. The PHP file is in the location "/opt/app/current".</p>
  
  <p>When I enter the public DNS, it successfully displays the HTML page, but the PHP code is not present there nor has it run and updated my database.</p>
  
  <p>I am not sure if I am missing any steps.</p>