Answer the question
In order to leave comments, you need to log in
Why is Laravel not taking off?
In general, there is a server, NginX is installed on it. I decided to play with Laravel, threw it with a composer in the right folder (~/workspace/laravel).
There is this NginX config:
server {
set $root "/home/matt/workspace/laravel/public";
listen 80;
server_name laravel;
root $root;
access_log /home/matt/workspace/log/laravel.access.log;
error_log /home/matt/workspace/log/laravel.error.log;
index index.php;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $root$fastcgi_script_name;
include fastcgi_params;
}
}
#0 /home/matt/workspace/laravel/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(37): Monolog\Handler\StreamHandler->write(Array)
#1 /home/matt/workspace/laravel/vendor/monolog/monolog/src/Monolog/Logger.php(269): Monolog\Handler\AbstractProcessingHandler->handle(Array)
#2 /home/matt/workspace/laravel/vendor/monolog/monolog/src/Monolog/Logger.php(545): Monolog\Logger->addRecord(400, Object(Symfony\Component\Debug\Exception\FatalErrorException), Array)
#3 /home/matt/workspace/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(49): Monolog\Log
Answer the question
In order to leave comments, you need to log in
If you're using an RH-like system, SELinux may be doing the trick.
Try to set it to Permissive with the command:setenforce 0
Which laravel? What PHP? in laravel there are configs /config/app.php set there Debag to true, it will start displaying errors if these are its errors. The stack trace you threw in looks incomplete.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question