title: Chef correct way to load new rpm and install package
body: <p>I am trying to install the latest version of php on a centos box and am struggling.</p>
  
  <p>The cookbook i have been looking at is the opscode one: <a href="https://github.com/opscode-cookbooks/php">https://github.com/opscode-cookbooks/php</a></p>
  
  <p>It doesnt look like i can install php 5.5 using that.</p>
  
  <p>To install manually i would simply do the following (on centos 6.4):</p>
  
  <pre><code>rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
  yum install php55w php55w-opcache
  </code></pre>
  
  <p>How does this translate into using chef (solo) to get php 5.5 installed?</p>