title: PHP problems after moving codeigniter system to Amazon AWS
body: <p>I have a problem after moving a system I made with codeigniter 3, I did all the development on inmotionhosting VPS and all works 100% with cpanel, but the client purchased an AWS (Amazon Web Services) and after moving all everything just like in inmotionhosting, a lot of problems started, many PHP errors showed up (syntaxis, unexpected tokens, unexpected end of files), json enconde not working with php requests, this is the both php infos, both are running under php 7.0, I'm not server administrator so im not sure if both versions aren't the same, or something need to be changed</p>
  
  <p>Amazon Web Services PHP Info (Not working)</p>
  
  <p><a href="http://consultas.academia.org.mx/phpinfo.php" rel="nofollow noreferrer">http://consultas.academia.org.mx/phpinfo.php</a></p>
  
  <p>Inmotion Hosting PHP Info (Working)</p>
  
  <p><a href="https://consultasacademia.org.mx/phpinfo.php" rel="nofollow noreferrer">https://consultasacademia.org.mx/phpinfo.php</a></p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Example of code that works in inmotion and not working on amazon, in amazon is unexpected token >, there is like 100 errors like this in different parts of the code</p>
  
  <pre><code>&lt;?
  if($consulta-&gt;previo){
  echo $consulta-&gt;previo;
  }else{
  ?&gt;
  </code></pre>
  
  <p>I'll appreciate any help</p>
  
  <p>Thanks!</p>