• 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.

fCGI var/lib/php/session Permission Issue

PriyanA

Regular Pleskian
Hi,

"Plesk 10.4.4(no update available on 1/5/2012) CentOS 6.2, PHP 5.3.3"

i understand var/lib/php/session is set to apache:apache so fCGI user cant read or write in that directory.

so i followed what Parallels has suggest.

http://kb.parallels.com/en/7056

but i cant get it to work.

any changes i make in "/var/www/vhosts/domain.tld/etc/php.ini" doesn't come to affect. (Plesk Panel or manually via SSH)

Domain running as fCGI.

Checked php info. it says "Loaded Configuration File /etc/php.ini "

Also all the websites on this VPS run as fCGI, so i dont mind changing permission to var/lib/php/session (not 777) if there is any other way of doing this.

Any suggestions from Pararrels?

Regards,
PriyanA
 
hi Priyan,

try this:

in panel > home > subscriptions > (select your subscription) > websites & domains tab > show advanced options > website scripting and security > PHP setting tab > session.save_path > enter custom value

and enter this:

{DOCROOT}/../var/tmp




also can be configured in your service plan
 
thank you for your reply Fabri.

Problem is any changes i make in "custom value" doesnt come to effect.

Regard,
PriyanA
 
no Fabrii it doesnt.. any changes i make in "/var/www/vhosts/domain.tld/etc/php.ini" doesn't come to affect.

i tried via the panel and manually.. just cant get it to work
 
im on the same boat! no matter what, i cant get custom php.ini settings to load be it through custom settings nor custom php.ini settings, it keeps loading default settings no matter what I do.
 
Hi JLChafardet,

Mysteriously my vhosts came to live. maybe after panel auto update (Autoinstaller)

Now vhosts on static IP wont take time.zone from the default php.ini

you have to set manaully for each vhost.

Regards,
Priyan
 
Thanks a lot for your update! ill give it a try.

also noticed, that if i set php to fcgid some domains will just not work, so it seems im tied to apache module in some.
 
i run all my website as fcgi.. like i said it suddenly started working...

at the moment no problem.. well at the moment.

try update your panel. hope it will fix your problem

you can try this, get phpinfo for each domain and see which configuration file is loaded.

only domains on static/dedicated IP load the custom configuration php.ini file
 
Last edited:
Back
Top