[Issue] Error when I upload a big file (PDF) in WordPress media library

Good afternoon,

How are you ? I hope that you are well.
I have an issue with my installation of WordPress on Local WP.
When I try to upload a pdf file of 49.7 Mo, in the media library, I have an error message.
I edit the php.ini in the folders : ~\Local Sites\my-web-site\conf\php\
With these parameters :

; Maxes

max_execution_time = 1200

max_input_time = 1600

max_input_vars = 4000

memory_limit = 512M

post_max_size = 1000M

max_file_uploads = 120

upload_max_filesize = 512M

output_buffering = 4096

How could I solve this problem, please ?

Best regards,
arnoldk

Hi @arnoldkiti

As a test, can you create a new, blank site in Local and try adding the PDF and see if the error is the same there? If the PDF uploads in the new site then there might be some type of plugin conflict at play. If it doesn’t upload, if might be another limitation and you could try uploading it a different way like using Site Shell or SFTP.

Keep us posted and we’d be happy to help further!