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

toteklon's avatar

error de laravel in shared hosting

Hi, I have a shared hosting service where a WordPress site is hosted in the root folder. I created a domain (not shared) where I hosted a Laravel 10 application. However, when I run the Laravel application, I get this error: file_put_contents(C:\laragon\www\dientes\storage\framework/sessions/hsKeOfE3bGtguq1ScLTu3qiMgxIaNUiXSql0PROF): Failed to open stream: No such file or directory help me

1 like
2 replies
jlrdw's avatar

Are you truing to host it from your local computer. Or did you actually install laragon on a live server?

Perhaps more detail would help.

1 like
vincent15000's avatar

Laragon is not set for production use.

Your post is quite confusing.

You have a WordPress website installed in the root folder.

Then you create a domain where you host a Laravel 10 application, but you don't host an application on a domain, you bind the domain so that it points to a folder on your webhosting.

What do you mean when you're talking about a domain that isn't shared ? If you are on a shared webhosting, you necessarily have the Laravel application also on the shared webhosting.

So where have you installed the Laravel 10 application ? Is it in the root folder ? Another folder ? And how have you binded the domain to the folder ?

Can you just reformulate your post and give us more details, please ?

1 like

Please or to participate in this conversation.