PHP FPM on Ubuntu 14.04

Hi, After enabling PHP FPM for one site. I get following error while Re-Check Configuration or on Restart Apache. Apache stops running until i go back to some other mode of PHP.

AH00526: Syntax error on line 68 of /etc/apache2/sites-enabled/
ProxyPass URL must be absolute!
Action 'configtest' failed.
The Apache error log may have more information.

I moved from FCId to FPM and phpinfo reported

Server API CGI/FastCGI

in both cases. Then I thought of restarting apache and the error appeared.


Howdy -- what are you seeing on line 68 of /etc/apache2/sites-enabled/

This is probably due to a missing or disabled Apache module, like mod_proxy_fcgi.

Shouldn't the module be enabled by virtualmin on change to FPM. I never touched apache modules myself.

@andreychek This happened on live server,so I wont be testing FPM again on live server until I confirm it is working on test server (Will be setting up 1 soon)

It should be enabled by default for new Ubuntu installs - but it sounds like we need to add a check to make sure.