Laravel 5.2.45 with VestaCP 0.9.8-18
Laravel 5.2.45 with VestaCP 0.9.8-18
Hi,
I encounter a problem which didn't happen in the previous versions of VestaCP, it returns HTTP Error 500. I try to upload my Laravel files to /private/app_data/ except public I put it in public_html. The index.php path I have changed to:
and
I have also to both folder and but it's still not working.
I transfer my file through WinsCP FTP Port 21, which only have the access the path
The page return HTTP Error 500 for index.php, but index.html is working perfectly. I try to put at the very beginning of index.php and it's working. Then I could guess there must be some kind of permissions that prevent index.php in public_html to access files in private folder. And again I tried the last clue I could guess to private folder, it's still not working.
I am so clueless now, please help!
NB: I'm using Debian 8.7 64bit
I encounter a problem which didn't happen in the previous versions of VestaCP, it returns HTTP Error 500. I try to upload my Laravel files to /private/app_data/ except public I put it in public_html. The index.php path I have changed to:
Code: Select all
require __DIR__.'/../private/app_data/bootstrap/autoload.php';
Code: Select all
$app = require_once __DIR__.'/../private/app_data/bootstrap/app.php';
$app->bind('path.public', function() {
return __DIR__;
});
Code: Select all
chmod -R 777
Code: Select all
/private/app_data/bootstrap
Code: Select all
/private/app_data/storage
I transfer my file through WinsCP FTP Port 21, which only have the access the path
Code: Select all
/domain.com/*
Code: Select all
phpinfo();
Code: Select all
chmod -R 755
I am so clueless now, please help!
NB: I'm using Debian 8.7 64bit
Re: Laravel 5.2.45 with VestaCP 0.9.8-18
Guys, I really need help. Anyone, if you understand the issue and have the solution please help me. :(
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Laravel 5.2.45 with VestaCP 0.9.8-18
watch your domains "apache2 error log" in /var/log/apache2/domains/
tail it to see what errors it gives. May be some basedir restriction is not letting modules load properly ?
tail it to see what errors it gives. May be some basedir restriction is not letting modules load properly ?
Re: Laravel 5.2.45 with VestaCP 0.9.8-18
Hi, thank you, really appreciate your will to help me. I currently using Nginx + php-fpm as my server. I somehow fix the HTTP Error 500 issue by uploading my files with root. I know this is not appropriate, perhaps there's another better solution?mehargags wrote:watch your domains "apache2 error log" in /var/log/apache2/domains/
tail it to see what errors it gives. May be some basedir restriction is not letting modules load properly ?
And now I have a new problem, all my laravel pages return
Code: Select all
Nginx "404 - Not Found"
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Laravel 5.2.45 with VestaCP 0.9.8-18
did you care to read what I said and follow it ?
-
- Posts: 2
- Joined: Sun Mar 12, 2017 3:54 pm
Re: Laravel 5.2.45 with VestaCP 0.9.8-18
Did you follow the install instruction and system req ?
https://laravel.com/docs/5.4#installing-laravel
https://laravel.com/docs/5.4#installing-laravel
Re: Laravel 5.2.45 with VestaCP 0.9.8-18
where did you install 0.9.8-18? Isn't the current latest 0.9.8-17?