title: Laravel is not working with my server php version by .htaccess file
body: <p>My server default php version is 5.6. But my laravel version is working with php 7.0</p>
  
  <p>My hosting provider gives me a .htaccess file </p>
  
  <pre><code>&lt;IfModule mime_module&gt;
    AddType application/x-httpd-ea-php70 .php .php7 .phtml
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>if I place this file in domain root and <code>phpinfo()</code> showing my server version is 7.0</p>
  
  <p>if I remove this .htaccess file server back to my default version php 5.6</p>
  
  <p>But when I make command composer update for laravel. An error message showing like: </p>
  
  <blockquote>
    <p>your php version is 5.6. laravel need php 7.0</p>
  </blockquote>
  
  <p>that means laravel cannot read my .htaccess file</p>
  
  <p>thanks in advance.</p>