Page MenuHomeDevCentral

Allow to move php-fpm pool from dev to prod or vice-versa
Open, WishlistPublic

Description

Currently, prod PHP pools run on 5.6, dev pools in PHP 7.

  • PHP 5.6 pools are located at /usr/local/etc/php-fpm/pool-prod
  • PHP 7 pools are located at /usr/local/etc/php-fpm/pool-dev

We need to prepare a TC2 command to move file from one to another and mark the relevant pool in the tracking table.

Event Timeline

dereckson raised the priority of this task from to Wishlist.
dereckson updated the task description. (Show Details)
dereckson added projects: Dæghrefn, Servers.
dereckson added a subscriber: dereckson.
dereckson added a subscriber: Sandlayth.

@Kaliiixx wants to work on PHP 7.

dereckson renamed this task from Move php-fpm pool from dev to prod or vice-versa to Allow to move php-fpm pool from dev to prod or vice-versa.Dec 22 2016, 19:13

To populate the new file, this is now as easy as edit in rOPS the pillar/webserver/sites.sls file, but then, the pool will exist to both wikis, as there is no "remove non managed files from the directory" feature currently.

Current update: until now, /usr/local/etc/php-fpm/pool-prod served 7.4, it now serves 8.1.

  • legacy is still 5.x
  • we probably need a PHP 7 (7.3?) legacy pool