Page MenuHomePhabricator

stop using mod_php anywhere
Open, MediumPublic

Description

T208108#4701107

Joe added a comment.Sun, Oct 28, 4:47 AM
Comment Actions

I think we should stop using mod_php *anywhere*. We should really use php-fpm for anything that is not explicitly known not to work with fcgi (and I wonder, what that might be).

So for LAMP applications we might want to create a simple profile that installs:

httpd
php-fpm using the php module
The entrypoint in the application if needed

And use it for all of them minus MediaWiki.

Event Timeline

Change 407958 had a related patch set uploaded (by Paladox; owner: Paladox):
[operations/puppet@production] phabricator: Replace mod_php with php-fpm

https://gerrit.wikimedia.org/r/407958

ema triaged this task as Medium priority.Oct 31 2018, 7:46 AM
ema added a subscriber: Joe.

Change 470915 had a related patch set uploaded (by Dzahn; owner: Dzahn):
[operations/puppet@production] icinga: don't install PHP httpd module on stretch

https://gerrit.wikimedia.org/r/470915

Change 470915 merged by Dzahn:
[operations/puppet@production] icinga: don't install PHP httpd module on stretch

https://gerrit.wikimedia.org/r/470915

Change 475901 had a related patch set uploaded (by Dzahn; owner: Dzahn):
[operations/puppet@production] icinga::web: do not use PHP anymore

https://gerrit.wikimedia.org/r/475901

Change 475901 merged by Dzahn:
[operations/puppet@production] icinga::web: do not use PHP anymore

https://gerrit.wikimedia.org/r/475901

Change 407958 abandoned by Paladox:
phabricator: Replace mod_php with php-fpm

Reason:
I've did it in https://gerrit.wikimedia.org/r/#/c/operations/puppet/ /476985/

https://gerrit.wikimedia.org/r/407958

Change 477587 had a related patch set uploaded (by Paladox; owner: Paladox):
[operations/puppet@production] httpd::mpm: Also remove mod_php for 7.0 and 7.2 if not prefork

https://gerrit.wikimedia.org/r/477587

Change 477587 merged by Giuseppe Lavagetto:
[operations/puppet@production] httpd::mpm: Also remove mod_php for 7.0 and 7.2 if not prefork

https://gerrit.wikimedia.org/r/477587