Tries to downlaod the php file

I noticed that it fails after 63 rows in the database

and it now tries to download the index.php file first

You must not post text. You must post errors and logs.
Cut-and-Paste it from putty or other terminal programs.

ok, thanks for the tip

I tried with a diffret program and it still tries to downlaod a file, the file is not evan on my server

I fixed the issue, I forgot to add

a2enmod php7.4