title: Error 500 on uploading pdf
body: <p>My site throws an Error 500 when uploading a pdf.</p>
  
  <p>I have gone into the php.ini page and changed</p>
  
  <pre><code>file_uploads = On
  upload_max_filesize = 2m
  </code></pre>
  
  <p>to</p>
  
  <pre><code>file_uploads = On
  upload_max_filesize = 100m
  </code></pre>
  
  <p>Yet it still throws the 500 error. I'm at a loss as to why my server won't allow this.</p>
  
  <p>I should also state the file I'm testing this with is only 50kb.</p>
  
  <p>EDIT:</p>
  
  <hr>
  
  <p>The source of this error has lead to another question I had but wasn't quite ready to figure it out. Anyways, here it goes.</p>
  
  <p>I am having the user verify the contents of the pdf they uploaded, and then I want to pass it to another page to save the file to a local drive.</p>
  
  <p>The error the log is throwing is</p>
  
  <pre><code>PHP Parse error:  syntax error, unexpected ';' in updatePDF-check.php on line 36
  </code></pre>
  
  <p>Line 36 is as follows   </p>
  
  <pre><code>echo "&lt;input type = 'hidden' name = 'uploadedFile' value = '".$_FILES['file']."'"&gt;;
  </code></pre>
  
  <p>Which leads to the question. How should I have this page display the file, and then pass it on to the next page so that it can be saved?</p>
  
  <p>double edit, fixed the typo in the above line, but my question still stands I believe</p>
  
  <pre><code>echo "&lt;input type = 'hidden' name = 'uploadedFile' value = '".$_FILES['file']."'&gt;";
  </code></pre>
  
  <p>It should be worth stating that <code>display_errors</code> was also turned off in the php.ini file. So I have turned that on as well</p>