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

Installing PHP-FPM help please

mavera2

Basic Pleskian
I use Plesk 11.5 and PHP 5.4.18.
I want to use opcache like APC, XCache but it seems like these opcache engines are not compatible with fastcgi.
I read that if I enable php-fpm, it manages the workers and opcache works well.

How can I install php-fpm ?
How can I enable php-fpm ?

I'm cautious and I'm afraid to break my webserver, apache etc.
In my Plesk settings there exists cgi, fastcgi and apache settings.
Is php-fpm will be added to these settings ?
fast.jpg

I want to be sure tha teverything will be worked well, if not works, I would easily go back to current configuration.
Thank you.
 
Also I want to mention that 99% of my files are php files. I use a CDN for serving static files. So serving static files with nginx won't give me more performance.

I'm interested in using XCache with FastCGI.
 
Basically, just as the documentation says, you first need to install nginx and PHP-FPM support (the latter usually requires certain third-party repository enabled if you don't have suitable php-fpm package in your OS vendor repos). Ensure both services are enabled/started in services management page. Then go to web server settings for a given domain and enable processing "PHP by nginx". You don't need to serve static files in any specific way, so I suggest using default settings there.

Using PHP-FPM with Apache on Plesk is not supported natively. Hacking it together could get cumbersome, so I'd use nginx+php-fpm option if it suits your needs (you might have some troubles with rewrites since the mechanism differs, but it's all solvable).
 
Basically, just as the documentation says, you first need to install nginx and PHP-FPM support (the latter usually requires certain third-party repository enabled if you don't have suitable php-fpm package in your OS vendor repos). Ensure both services are enabled/started in services management page. Then go to web server settings for a given domain and enable processing "PHP by nginx". You don't need to serve static files in any specific way, so I suggest using default settings there.

Using PHP-FPM with Apache on Plesk is not supported natively. Hacking it together could get cumbersome, so I'd use nginx+php-fpm option if it suits your needs (you might have some troubles with rewrites since the mechanism differs, but it's all solvable).

Nikolay Thank you for detailed information.
I'm not good at server admining so I'm afraid to switch to nginx, I prefer to stay with Apache.
I also don't want to hack Plesk for Apache+PHP-FPM.

I will look for another solution where Opcode cache and mod_fcgid works well :(
 
Back
Top