Permission Denied - Downloading Voicemails

When I try to download a voicemail I get the below error:

Warning: session_start(): open(/var/lib/php/session/sess_5lr5fj1j98q3icfsji9govhgs7, O_RDWR) failed: Permission denied (13) in /var/www/html/fop2/download.php on line 11 no way Warning: Unknown: open(/var/lib/php/session/sess_5lr5fj1j98q3icfsji9govhgs7, O_RDWR) failed: Permission denied (13) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0


When I try to play a voicemail nothing happens as well. I assume its related the above however just not showing me the error.

Comments

  • Hi,

    You have php session problems, that is probably because php was updated and changed the owership of the session dir to the apache user. To fix it, assuming you use FreePBX, run:

    chown -R asterisk.asterisk /var/lib/php/session

    Then restart apache:

    service httpd restart

    And finally log to fop2 and try again.
Sign In or Register to comment.