Answer the question
In order to leave comments, you need to log in
Why does the server give error #500 when loading the admin panel in FreePBX?
Good day to all! I installed everything according to the manual , there were no problems at the compilation stage. But I could not log in http://my-ip/admin . Server gives 500 error.
Judging by the logs, the problem is in the session.
PHP Fatal error: Class 'FreePBX' not found in /var/www/html/admin/config.php on line 126
$sessionTimeOut = FreePBX::Config()→get('SESSION_TIMEOUT');
[pid 1171] [client 172.16.12.26:55847] PHP Warning: Unknown: open(/var/lib/php/sessions/sess_h1behae5j0jdcar1uv1p9grbt6, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[pid 1171] [client 172.16.12.26:55847] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/sessions$
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question