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

PHP4/PHP5 - FastCGI

Markus_Eyrich

Basic Pleskian
Hello,

If i understood it right, Plesk 9 should now be able to use 2 different php versions beside each other. But where do i configure this? Also, the advantage of PHP as CGI or FastCGI should be, that i can use different php.ini versions for different customers, or ? I mean, if i enable CGI as example i now have a php.ini at /etc/php5/cgi/php.ini which doesn't help much, since i can only edit this file for ALL web's. Where do i have to put a php.ini file to use it only for one specific vhost ? Using CMS Systems like typo3 or Joomla this is needed, since i want to enable safe_mode and configure open_basedir and so on so that this systems work with safe_mode enabled. Is there any way?

greets

Markus
 
Safe mode should be able to be managed directly from the Plesk when creating or editing the domain settings. For the open base dir I think you can do that in the vhost.conf file on a per domain basis.

I dont see how to enable a custom php.ini file per domain just yet, or if that is even possible - but Im sure over time we will figure out how this new option works.
 
If you need to override the phi.ini settings, I think you can put the new values in .htaccess file of each site. When you will override the PHP settings for this specific domain
 
The most important advantage of using fcgi is in my opinion handling many requests in combination with Apache MPM Worker (Threaded). But due to the misconception it is reduced to some security benefits (which would have been also possible through some other patterns than the involved suexec one here).

For using custom php.ini files a wrapper script (http://www.askapache.com/php/custom-phpini-tips-and-tricks.html) is needed, as far as I can remember. Configuration via Plesk 9 is not supported yet.
 
Back
Top