Hello everyone,
I made a Laravel 9 project with a mysql database and I try to put it online with the OVH as host.
I used FileZilla to:
1. I checked the version of php in "composer.json" and updated on OVH to be the same.
2. I copied my project in the "www" directory (no failed tranfert)
3. I moved the contain of the public directory to be in the same place than the project file.
4. I updated my index.php by delete everything and adding the following code:
define('LARAVEL_START', microtime(true));
require__DIR__.'/ADA2023/vendor/autoload.php';
$app = require_once__DIR__.'/ADA2023/bootstrap/app.php';
?>
"ADA2023" is the name of the project
And after that I saved but when I tried to access my project online with the name of my domain "https://adatfejogendarme2022.be/" I have the HTTP ERROR 500
put a laravel 9 project online on OVH using filezilla
Related questions
- I can't login to my account. Reset password don't help
3350
25.02.2020 22:06
- Max_execution_time how to increase time
3314
24.01.2021 17:14
- Update MySQL Version
3101
14.02.2018 03:27
- Connect to mysql database
2458
28.02.2018 16:52
- How do I limit upload_max_filesize? PHP.ini method not working
2446
06.12.2022 11:02
- Cannot put SSL on my domain
2408
03.04.2019 19:20
- Why can not connect my domain name with my host in ovh?
2099
09.01.2020 09:13
- Trying to connect my OVH domain to shopify store
2025
13.06.2021 22:43
- Launching the free e-mail account and 10M hosting for a domain impossible
1830
04.11.2018 01:14
- Increase PHP Post Max Size and PHP Time Limit
1801
20.09.2023 07:11