• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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

Polmonino

New 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