title: php ini setting upload_max_filesize not working
body: <p>I need to change upload limit to 2GB  on php 7.2 Ubuntu 16.04.</p>
  
  <p>As a first step,  when I check <code>/etc/php/7.2</code> folder I can see <code>cli</code> and 
  <code>fpm</code> folders.</p>
  
  <p>So to make sure the ini location I have print the php info using </p>
  
  <pre><code> echo phpinfo()
  </code></pre>
  
  <p>And I got the output </p>
  
  <pre><code>Server API                         :   FPM/FastCGI
  Virtual Directory Support          :   disabled
  Configuration File (php.ini) Path  :   /etc/php/7.2/fpm
  Loaded Configuration File          :   /etc/php/7.2/fpm/php.ini 
  </code></pre>
  
  <p>And I have edited <code>/etc/php/7.2/fpm/php.ini</code> with </p>
  
  <p><code>upload_max_filesize = 2048M</code></p>
  
  <p>And restarted the apache  but  using phpinfo() still it print</p>
  
  <pre><code>  upload_max_filesize   2M
  </code></pre>
  
  <p>So I have tried with command  <code>php -i | grep -i "loaded configuration file"</code> but it print different configuration file,</p>
  
  <pre><code> Loaded Configuration File =&gt; /etc/php/7.2/cli/php.ini
  </code></pre>
  
  <p>On this file also I have changed upload_max_filesize to 2048 and restarted the Apache and still the result is same.</p>
  
  <p>What could be the problem, any help will appreciated. </p>