title: trying to turn on allow_url_fopen by putting php.ini in wordpress root does not work
body: <p>ok so, Im building a fancy pants wordpress theme and part of the theme has php getting image widths and using those numbers to resize page elements. It works fine on my local machine, but when I put the theme on my hosted server using cpanel, it doesnt work. </p>
  
  <p>I get this error</p>
  
  <pre><code>Warning: getimagesize() [function.getimagesize]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/yoursite/public_html/wpsite/wp-content/themes/yourtheme/styles/login.php on line 7
  
  Warning: getimagesize(http://yoursite.com/wpsite/wp-content/uploads/2012/11/logo1.png) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in /home/yoursite/public_html/wpsite/wp-content/themes/yourtheme/styles/login.php on line 7
  </code></pre>
  
  <p>SO I thought if I made a php.ini file in the wordpress's root directory with this in it:</p>
  
  <pre><code>[PHP]
  allow_url_fopen = 1
  </code></pre>
  
  <p>That would work, but it wont.</p>
  
  <p>Is there anyway to get this to work?</p>