Is there a temp directory set.
Edit:
You followed instructions? https://learn.microsoft.com/en-us/iis/application-frameworks/scenario-build-a-php-website-on-iis/configuring-step-1-install-iis-and-php#12-download-and-install-php-manually
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello developers, I have a Laravel version 9.20.0 project in Windows Server which is running IIS 10 It has a file upload section. when attaching a file it shows the "ValueError Path cannot be empty" error, but if I move the project to XAMPP within the same server it doesn't show any issue it can upload files without any error.
Does anyone have experienced it or know the solution, please?
@jlrdw Thanks for sharing the information I believe it can be a solution, but I solved it just by giving read/write access to the (Windows/temp) folder after I was able to upload files via the portal without any error.
Please or to participate in this conversation.