Laravel 5.2.45 with VestaCP 0.9.8-18
Posted: Fri Mar 10, 2017 1:20 pm
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