• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • 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.

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