Page MenuHomeDevCentral

Provide current PHP master branch in /opt/php-dev and php-fpm-dev pools
Open, WishlistPublic

Description

Context

Ysul must offer capabilities for dev and staging. That means we have two requirements: check software compatibility and allow development with bleeding edge, offer QA.

We're going to work with 3 groups of resources pools:

  • legacy, PHP 5.6, installed through FreeBSD packages
  • prod, PHP 7.1, installed manually in /opt/php, later will be through packages
  • dev, current PHP master, installed in /opt/php-dev

Plan

Provide a semi automatic rebuild mechanism to be able to pull from Git, build, check if all is fine, install if so.

Switch current php-fpm-dev configuration to use binaries and config in /opt/php-dev.

Ensure configuration allows good debug.

Event Timeline

The code in master branch currently doesn't compile.

Plan is to provide in such case PHP 7.1.0 release both in /opt/php-devel and /opt/php.

What matters is to fix php.ini to provide debug environment in /opt/php-devel.

The code in master branch currently doesn't compile.

I've trying a new compile at 348ae883b275.

Sprint status — Notifications center — No, this is not a magic elixir, this is a fir distillate

This task was included in the No, this is not a magic elixir, this is a fir distillate. sprint.

Per T1077, we should move back this to the Notifications center product backlog. Yet, to develop for the Notifications center requires PHP 7.1+, not especially the PHP version in master branch. So we're satisfied and the project doesn't depend of this.

Overall status

Compile still fails, PHP port contains a workaround to examine.

dereckson removed dereckson as the assignee of this task.Mar 8 2018, 21:07
dereckson renamed this task from Provide current PHP master in /opt/php-dev and php-fpm-dev pools to Provide current PHP master branch in /opt/php-dev and php-fpm-dev pools.Wed, Oct 23, 00:15

IF we maintain several PHP versions, instead of /opt/php-dev we can use /opt/php/<subdirectory>, so for example /opt/php/dev here.