What I'm doing wrong?
Using shared hosting :p
A server on digital ocean cost nothing. It even has prepackaged server image with apache/php/mysql. Try it you will have way more fun.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I just uploaded the laravel project that i did on my computer on a share hosting package of godaddy with linux. I use a sub domain for this project which I fixed the locations of the path in the index.php to link with my laravel project which outsite the public_html.
Then I changed the permissions of the storage folder into 777 (also for the sub folders and files), and when I'm trying to load the page it doesn't show any error in the log files, even in the console of chrome. Can anyone help me please?
What I'm doing wrong?
[UPDATE] my stracture /laravel -> all the laravel project /public_html/private/public/ -> is the index.php of laravel
I have changed the index.php file to this require DIR.'/../../../laravel/bootstrap/autoload.php'; $app = require_once DIR.'/../../../laravel/bootstrap/app.php';
my htaccess is inside the public folder /public_html/private/
RewriteEngine On
RewriteBase /private/public/
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
and my storage and sub folders' permissions 777 . User and group are correct
Please or to participate in this conversation.