title: Can't get changes in file "php.ini" to take effect
body: <p>I am building a new WordPress website on a new testing server.  The testing server using <a href="https://en.wikipedia.org/wiki/MAMP" rel="nofollow noreferrer">MAMP</a>, but it is the Windows 7 version.  The server is running great and the site is fine, but I'm trying to import an XML file with posts, into the new site.  I get the following error:</p>
  <blockquote>
  <p>Sorry, there has been an error. File is empty. Please upload something
  more substantial. This error could also be caused by uploads being
  disabled in your php.ini or by post_max_size being defined as smaller
  than upload_max_filesize in php.ini.</p>
  </blockquote>
  <p>The file was generated by the WordPress export plugin and is 8.92 MB</p>
  <p>I checked my <em>php.ini</em> file located at <em>C:\MAMP\conf\php5.6.21\php.ini</em>.</p>
  <p>I updated the lines as follows:</p>
  <pre class="lang-none prettyprint-override"><code>;;;;;;;;;;;;;;;;
  ; File Uploads ;
  ;;;;;;;;;;;;;;;;
  
  ; Whether to allow HTTP file uploads.
  file_uploads = On
  
  ; Temporary directory for HTTP uploaded files (will use system default if not
  ; specified).
  ;upload_tmp_dir =
  
  ; Maximum allowed size for uploaded files.
  upload_max_filesize = 32M
  
  
  ; Maximum number of files that can be uploaded via a single request
  max_file_uploads = 40
  </code></pre>
  <p>But it still does not show the new values when I try to update the file. It still says there are only 2M instead of the new 32MB. Why?</p>