Support » Fixing WordPress » Getting Permission denied errors

  • Hi,

    I am getting below errors?

    Warning: Unknown(): open(/tmp/sess_f84ab7cd5267a17ddefd43284f7a4e88, 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 (/tmp) in Unknown on line 0

    I know it is a permission error but when I changed my index.php from 644 to 777 I am getting 500 internal server error. When I 644 to 755 I am getting the same error.

    What can be the problem?

    Thank you,

Viewing 2 replies - 1 through 2 (of 2 total)
  • First and foremost, this is a PHP configuration issue. Contact your webhost and ensure that they are looking at it.

    Second, create a test file called test.php and put in the following code in it and see if it works.

    <? phpinfo(); ?>


    Yes phpinfo is working. They have disabled super globals but I can run them with php.ini file. They showed a few wordpress accounts on their servers they seem ok but I am still getting the 2 lines.

    How can I solve the issue any advices???

    Thank you,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting Permission denied errors’ is closed to new replies.