title: How Do I Set PHp Version Using Htaccess
body: <p>i am getting the error in QUOTE:</p>
  <blockquote>
  <p>&quot;Class 'Locale' not found [code: 0] Notice: Trying to access array
  offset on value of type null8&quot;</p>
  </blockquote>
  <p>Reason because i need php version 5.6 but hosting company only provides central php version for all sites and not for individual sites in their shared hosting plan...</p>
  <p>how do i use .htaccess to set php version 5.6 for one of my domains  please help....</p>
  <p>i have tried the codes below none of them are working</p>
  <pre><code>&lt;FilesMatch &quot;\.(php4|php5|php7|php3|php2|php|phtml)$&quot;&gt;
      AddHandler application/x-httpd-alt-php56
  &lt;/FilesMatch&gt;
  
  AddHandler application/x-httpd-php56 .php .php4 .php3
  
  AddType application/x-httpd-php54 .php
  </code></pre>