title: allow_url_fopen is on but phpinfo says off
body: <p>Since either when I updated the server to PHP7 or when I enabled AutoSSL for my server I has not been able upload files. My error is as follows</p>
  
  <pre><code>fopen(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0
  </code></pre>
  
  <p>I have no idea where allow_url_fopen=0 is coming from because in both the global php.ini and the php.ini inside of the sub domain are using stating</p>
  
  <pre><code>allow_url_fopen=On
  allow_url_include = On
  </code></pre>
  
  <p>In phpinfo() I see where my php.ini file is...</p>
  
  <pre><code>Configuration File (php.ini) Path   /opt/cpanel/ea-php70/root/etc
  Loaded Configuration File   /opt/cpanel/ea-php70/root/etc/php.ini
  </code></pre>
  
  <p>When I open this php.ini file I see that allow_file_fopen is "On"</p>
  
  <pre><code>; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  ; http://php.net/allow-url-fopen
  allow_url_fopen = On
  
  ; Whether to allow include/require to open URLs (like http:// or ftp://) as fil$
  ; http://php.net/allow-url-include
  allow_url_include = On
  </code></pre>
  
  <p>But in the same phpinfo() file I see allow_file_fopen is off</p>
  
  <pre><code>Directive   Local Value Master Value
  allow_url_fopen Off Off
  allow_url_include   Off Off
  </code></pre>
  
  <p>From another stack exchange thread I was told to try the following code which turns out it is OFF</p>
  
  <pre><code>if (ini_get("allow_url_fopen") == 'On') {
  echo "allow_url_fopen is ON";
  } else {
  echo "allow_url_fopen is OFF";
  }   
  </code></pre>
  
  <p>Previously I did get this working by using the following code in my controller, but this no longer works for a reason I do not know</p>
  
  <pre><code>ini_set('allow_url_fopen',1);
  </code></pre>
  
  <p>I am using Laravel 5.2 and Image intervention package to deal with the images that get uploaded. As i said this was all working before PHP7 and AutoSSL</p>
  
  <p>What am I missing?</p>