• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

problem with php as fastCGI

L

lolpopl

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

[14-Apr-2010 22:40:55] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/tmp/sess_i8gb47tdc6740mev874r8f5i6$
[14-Apr-2010 22:40:55] PHP Warning: Unknown: open(/tmp/sess_i8gb47tdc6740mev874r8f5i64, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[14-Apr-2010 22:40:55] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct ($

My /tmp folder is in chmod 777.

Do you know why i have this error log?

Thank a lot.
 
777 is not correct permission. There is should be like:

# stat /tmp
File: `/tmp'
Size: 12288 Blocks: 24 IO Block: 4096 directory
Device: 35h/53d Inode: 18093775 Links: 3
Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root)
 
stat /tmp
File: `/tmp'
Size: 120760 Blocks: 0 IO Block: 4096 directory
Device: 13h/19d Inode: 3560 Links: 3
Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2010-04-20 22:10:08.931813976 +0000
Modify: 2010-04-20 22:17:56.910813976 +0000
Change: 2010-04-20 22:17:56.910813976 +0000

I have reboot the server, and it's ok now.
 
777 is not correct permission. There is should be like:
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.
 
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.

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? :)
 
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.
 
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.parallels.com/7056

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

They never fixed this issue.

The only solution is chmod 777 /var/lib/php/session
 
Back
Top