Ask, reply and learn. Join the community of Akaunting.
Hi All "New to this forum"
Trying to instal Akaunting in a FreeBSD 11 Jail using Nginx. Getting FatalErrotException FileSessionHandler.php..
Your kind assistance is greatly appreciated.
1/1) FatalErrorException |
---|
in FileSessionHandler.php line 10 |
FYI copy of nginx.conf
user www;
worker_processes 16; #No. of processors
error_log /var/log/nginx/error.log info;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
access_log /var/log/nginx/access.log;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name 10.135.89.11;
root /usr/local/www/akaunting;
index index.php index.html index.htm;
location / {
try_files $uri $uri/ =404;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/local/www/nginx-dist;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename;
include fastcgi_params;
}
}
}
SOLVED
Require following packages php70-session php70-json php70-filter
Thanks for sharing the solution Erez, truly appreciated.
After setup screen if can not connect to database then ,missing below package. Installing it solves the issue:
pkg install php70-pdo_mysql
Showing 1 to 5 of 5 discussions