Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

brooven's avatar

Deploy Laravel to Azure [Solved]

Hi all, I need to deploy laravel on azure.. I am facing an issue after uploading all the files via FTP. I see an error:

There is no existing directory at "C:\Users\user\Desktop\appName\storage\logs" and it could not be created: Invalid argument

I have updated the htaccess in both the root and the public file so it points to index.php also I included web.config as it is required by Azure

Seems like it is trying to get my local path, any help please?

0 likes
2 replies
esorone's avatar

Are you able to create the folders manually at all?

brooven's avatar
brooven
OP
Best Answer
Level 5

Hi @esorone, thanks for replying. I just managed to fix that by adding web.config. Which is required from azure as it uses and iis server. Plus I ran the artisan commands: Php artisan config:cache Php artisan route:cache Php artisan view:cache Run this on browser to link storage

1 like

Please or to participate in this conversation.