Did you install the framework?
Jun 7, 2022
18
Level 5
500 SERVER ERROR in production
hi, i have this error, and i checked the error_log file, i found
[07-Jun-2022 16:02:21 UTC] PHP Warning: require(/home/oaahtnot/public_html/public/../vendor/autoload.php): failed to open stream: No such file or directory in /home/oaahtnot/public_html/public/index.php on line 34
in index.php in public folder
require __DIR__.'/../vendor/autoload.php';
I appreciate your help !
Level 75
No, your htaccess needs to be placed where it was in public. Use a virtual host to point to public correctly.
Otherwise if public_html is now going to be public, place main laravel above public_html and point to public_html as document root.
Edit:
If you search, correctly setting up laravel has been discussed many times.
1 like
Please or to participate in this conversation.