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

BrownieCoffee's avatar

There is no existing directory at "/var/www/html/Goshr/storage/logs" and it could not be created: Permission denied

Hi there,

I'm deploying my project on shared hosting.

here it's my folder

- /
	- myapp-core ( content of my app folder except "public" )

	-public_html
		-myapp (content of my app public folder)
		

I have this Symfony Exception There is no existing directory at "/var/www/html/Goshr/storage/logs" and it could not be created: Permission denied

my folders are in 755 (my storage too) permission and my files, 655. the permission are given to www-data www-data:www-data .

I optimized my app but I have still this exception.

Can you help me please ? Thank you and S.U.+

0 likes
1 reply

Please or to participate in this conversation.