title: Is it possible to upgrade PHP in an environment provisioned using puPHPet?
body: <p>If I have a vagrant box provisioned using <a href="https://puphpet.com" rel="nofollow">puPHPet</a> on OSX, is it possible to upgrade the PHP version from 5.5 to 5.6 with a simple config file change or do I need to re-provision from scratch?</p>
  
  <p>Alternatively is it simpler to upgrade the PHP via the guest OS package manager, in this case <strong>Ubuntu 14.04</strong>. The use case here is a single development environment (not a large team) but I may later want to provision the same environment for a second developer and/or on a cloud service and would then need the latest stable PHP.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I tried editing puphpet/config.yml as suggested:</p>
  
  <pre><code>php:
      install: '1'
      version: '56'
      composer: '1'
      composer_home: ''
      modules:
          php:
              - cli
              - intl
              - mcrypt
          pear: {  }
          pecl:
              - pecl_http
      ini:
          display_errors: On
          error_reporting: '-1'
          session.save_path: /var/lib/php/session
      timezone: Europe/London
      mod_php: 0
  </code></pre>
  
  <p>And then did <code>vagrant reload</code> but <code>php -v</code> still shows 5.5.14. I also tried <code>vagrant reload --provision</code> and this seemed to do a lot more than just restart the VM (ran through provisioning scripts) but the PHP version has not changed.</p>