So I've changed all these values in php.ini:
Max file upload size = 10000M
post upload size = 11000M
Excecution Max Time = 12000
Input Max Time = 12000
Im also using a PHP form which uploads multiple files at once: index.php (file upload form, other code on page which requires php backend)
 <input type="hidden" value="form" name="<?php echo ini_get('session.upload_progress.name'); ?>">
    <div class="upload-btn-wrapper">
      <button class="btn">Drag File / Click to upload</button>
      <input type="file" name="files[]" multiple="multiple" id="fileToUpload">
    </div>
</form>
  document.getElementById("fileToUpload").onchange = function() {
      startUpload();
      setTimeout(function(){document.getElementById("form").submit();}, 1000);
}
</script>
Again, I can upload normal files fine, but large files dont work. heres the file upload php code:
<?php
session_start();
//boi
$max_file_size = 20000000; //2GB
$path = $_SESSION["directory"]."/"; // Upload directory
$count = 0;
if(isset($_POST) and $_SERVER['REQUEST_METHOD'] == "POST"){
    // Loop $_FILES to exeicute all files
    foreach ($_FILES['files']['name'] as $f => $name) {
        if ($_FILES['files']['error'][$f] == 4) {
            continue; // Skip file if any error found
        }
        if ($_FILES['files']['error'][$f] == 0) {
            if ($_FILES['files']['size'][$f] > $max_file_size) {
                $message[] = "$name is too large!.";
                continue; // Skip large files
            }
            else{ // No error found! Move uploaded files
                if(move_uploaded_file($_FILES["files"]["tmp_name"][$f], $path.$name))
                    $count++; // Number of successfully uploaded file
            }
        }
    }
}
    header("location: index.php");
?>
the site this is live on is: http://simpledrive.duckdns.org/simple
thanks.
