So for those who do not know PHP both 64bit and 32bit builds for windows have a design limitation what means functions like "filesize", "md5_file", "sha1_file" etc. Can not read files over the size of 2GB and the php script shall error or return a invalid/incorrect size for the file.
$fname = $_FILES['Filedata']['tmp_name'];
$filesource = sha1_file($fname);
A soloution with the windows command prompt is as follows.
CertUtil -hashfile "C:\Users\C0n\Desktop\2GB-file.MP4" SHA1
How can i use that in my PHP code in order to recieve the sha1 sum of the large file.