Error upload pdf files

I run into the following problem:

When trying to upload pdf files less than 10M it shows me the following error

The “” file does not exist or is not readable.

I gave myself the task of checking the space in my droplet but I still have more than 60% available, then check my variables post_max_size = 8M upload_max_filesize = 2M and change them to post_max_size = 64M upload_max_filesize = 64M, restart apache to apply the changes, but I still get the same error, I would like to know if I have to make any other modifications at the project level (laravel).

It is important to mention that this only happens with pdf files, when loading images everything works perfectly.

I would greatly appreciate the support.

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

Do you see any errors in your Laravel logs?

Also, do you have any validation rules in your upload controller that might be preventing you from uploading PDF files?

Feel free to share the upload method here so I could take a further look!