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

How to setup PHP-FPM with Apache only (without nginx as reverse proxy)?

Polmonino

Basic Pleskian
I'm quite new Plesk, running on my own private virtual server (CentOS x64). I was able to install nginx and php-fpm support using the add/remove components functionality. It was straightforward :). However - as default - PHP-FPM requires ngix as web server (as stated in the documentation). Correct me if I'm wrong, I think it's used for handling both static and dynamic requests, acting like a reverse proxy for Apache.

I'm not comfortable with ngix and my primary development framework (Symfony 2) works well with Apache, with a custom .htaccess file for handling URL-rewriting and different development environments. I'd like to use Apache + PHP-FPM and an OP cache like PHP APC. Symfony 2 strongly suggests an OP cache, as hundred of files are executed before sending the response back to the client.

How can I use php-fpm directly with Apache with Plesk 11.5, avoiding the need of nginx?

Thank you for helping and sorry for my english :)
 
Hi Polmonino

I think I have possibly misunderstood your question. Why not just use Apache mod_php? Mod_php can be enabled /disabled in the Apache settings. Why would you want to use PHP via Fast CGI when you could just use an Apache module?

--Justin
 
Back
Top