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

CleoCTech's avatar

Inertia cannot authenticate(even with correct credentials) when hosted in cPanel

Jetstream Stack: Inertia Laravel Version: 9.19 PHP Version: 8.0.2

When trying to login I am returned to the login page again. I can get the user being returned from the console then back to login page. If I enter a wrong email or password, it returns with an error. However, the application logs in well in my local machine, the problem is expereinced in cPanel host space.

0 likes
3 replies
Snapey's avatar

Do you have the public folder as the document root or have you copied the entire project into public_html

Please or to participate in this conversation.