title: How to/can not set php.ini values in run time using ini_set() method?
body: <p>I am using nginx as web server and when I do phpinfo(); it uses /etc/php5/fpm/php.ini</p>
  
  <p>Now in my php code I am trying to set file upload size and max file uploads using following code.</p>
  
  <pre><code>ini_set('max_file_uploads', "50");     
  ini_set('upload_max_filesize', '250M');
  </code></pre>
  
  <p>But when I do ini_get('max_file_uploads') and echo the value it shows the default value as 20, infact I am not able to change any of the ini values in run time using ini_set().</p>
  
  <p>Any ideas on how to change these values in run time using php code?</p>
  
  <p>Thanks.</p>