title: CHange php 5.4 to 5.5 on Hostgator
body: <p>Currently on composer install I get the error need 5.5.9 but using 5.4 but on Hostgator cpanal it's set as 5.5</p>
  
  <p>On <code>php -v</code> I get </p>
  
  <pre><code>PHP 5.4.45
  </code></pre>
  
  <p>On <code>php --ini</code> I get</p>
  
  <pre><code>Configuration file (php.ini) Path: /opt/php54/lib
  </code></pre>
  
  <p>When going into /opt/
  There is a php54, php55 and php56</p>
  
  <p>How do I change my version to 5.5</p>
  
  <p>I saw the following example on this <a href="https://stackoverflow.com/questions/31206864/use-different-php-version-cli-executable-for-one-command">link</a></p>
  
  <pre><code>$ php -v
  PHP 5.4.x (cli) ...
  $ set PATH="/usr/lib64/php5.6/bin:$PATH"
  $ php -v
  PHP 5.6.x (cli) ...
  </code></pre>
  
  <p>But when going into /usr/lib64 there's no php5.6</p>
  
  <p>On my index file in the webserver I did a phpinfo() and it's set as 5.5</p>
  
  <p>Anyone got any ideas</p>