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

plusgforce's avatar

Deploying Laravel 5 on Godaddy

I have an application that was developed using homestead and works perfectly. However, I have been unable to get it to work on a shared hosting linux account. The person I talked to on Godaddy customer support thinks I just need to code the right htaccess file but I've had no luck. When I access my site philipstephens.ca I just get a blank white screen with no error messages. In index.php I changed the following lines to

require DIR.'/../basicincome/bootstrap/autoload.php'; and $app = require_once DIR.'/../basicincome/bootstrap/app.php';

/home/philipscp base basicincome ..app ....Console ....Events ....Exceptions ....Http ......Controllers ......Middleware ......Requests ....Jobs ....Listeners etc ..bootstrap ..config ..database ..resources ..storage ..tests ..vendor logs mail public_ftp public_html ..index.php ..country_flags ..www temp

Any help would be appreciated. Thanks.

0 likes
3 replies
plusgforce's avatar

Thank you. I almost have my application working. Just need to fix database access.

Please or to participate in this conversation.