title: file_get_contents( ) not working
body: <p>I have a script that uses <code>file_get_contents()</code> to get json response from remote server .
  while <code>file_get_contents()</code> is working properly on local files but not working with http or https it gives me the following error <code>file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in</code> and <code>file_get_contents(https://api.domain.com/resolve.json?url=blablabla): failed to open stream: no suitable wrapper could be found</code> .. it is a dedicated server and I have WHM .. I've tried</p>
  
  <ol>
  <li>setting <code>allow_url_fopen = on</code> on WHM PHP configuration Editor but This didn't work.</li>
  <li>creating a php.ini file with <code>allow_url_fopen = on</code> in the directory where the error occurred but this didn't work.</li>
  <li>added <code>ini_set('allow_url_fopen', 'On');</code> to the start of the PHP script but this didn't work .</li>
  </ol>
  
  <p>I know I can use Curl instead but I want to know why this is not working .. the script is working properly on other server and localhost</p>
  
  <p><strong>update :</strong></p>
  
  <pre><code>phpinfo();
  </code></pre>
  
  <p>gives me</p>
  
  <pre><code>allow_url_fopen Off 
  allow_url_include   Off 
  always_populate_raw_post_data   Off
  </code></pre>
  
  <p>that means my php.ini changes didn't take effect .. what I'm doing wrong ?</p>