• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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