1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

problem with php as fastCGI

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by lolpopl, Apr 14, 2010.

  1. lolpopl

    lolpopl Guest

    0
     
    Hi,
    i use php as fastCGI. and i have a little problem.
    In my log i have a lot of message like this :

    My /tmp folder is in chmod 777.

    Do you know why i have this error log?

    Thank a lot.
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    777 is not correct permission. There is should be like:

     
  3. lolpopl

    lolpopl Guest

    0
     
    I have reboot the server, and it's ok now.
     
  4. thewolf

    thewolf Regular Pleskian

    25
    57%
    Joined:
    Mar 11, 2004
    Messages:
    231
    Likes Received:
    0
    We hit this issue too.

    Could you suggest to the developers to have a future version of Plesk to automatically set the correct permissions on that directory?

    Thanks.
     
  5. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Why do you think that Plesk should do it? There are a lot of important system files and directories and Plesk should correct it too? I don't understand how system files/dirs permissions can be related to Plesk? If it was changed by you or by some third-party software - Plesk should correct it? :)
     
  6. thewolf

    thewolf Regular Pleskian

    25
    57%
    Joined:
    Mar 11, 2004
    Messages:
    231
    Likes Received:
    0
    I stand corrected, we hit a similar issue, but with the directory /var/lib/php/session.

    The default RHEL/CentOS permissions won't allow the Plesk sites with PHP in FastCGI mode to write to it.

    It looks like the issue is already documented in your KB:
    http://kb.odin.com/7056

    It would be great if you could have that fixed in the next Plesk release.
     
  7. agarzon

    agarzon New Pleskian

    24
    90%
    Joined:
    Jan 21, 2009
    Messages:
    16
    Likes Received:
    0
    Location:
    Canada
    They never fixed this issue.

    The only solution is chmod 777 /var/lib/php/session
     
Loading...