Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-26972

Certify eZ Platform in Cluster setup on PHP 7 with memcached

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 1.7.1.1, 1.8.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Package for php-memcached for PHP 7.0 just got releases (as of writing version 3.0.1), so it is now possible to do a cluster certification with PHP 7. and memcached.

      This can be either done on Ubuntu 16.04, or RHEL with PHP 7.0 from RHCEL 2.3 that came out last fall.

      As for eZ Platform version, first and foremost 1.7 LTS with latests packages.

      If needed we can change doc to reflect this before certification, but idea was do do that after a round of certification.

        Issue Links

          Activity

          Hide
          Eduardo Fernandes (Inactive) added a comment -

          The tests were failing because the memcached server was bound to the local address what, in the case of clusters, prevent network access and user logins.

          The trivial solution is to edit the /etc/memcached.conf and change the line below

          - -l 127.0.0.1
          + -l 0.0.0.0

          However this is not a secure solution and should not be used in production environments.

          Imo, this should be documented and I created the EZP-27032 documentation issue.

          Show
          Eduardo Fernandes (Inactive) added a comment - The tests were failing because the memcached server was bound to the local address what, in the case of clusters, prevent network access and user logins. The trivial solution is to edit the /etc/memcached.conf and change the line below - -l 127.0.0.1 + -l 0.0.0.0 However this is not a secure solution and should not be used in production environments. Imo, this should be documented and I created the EZP-27032 documentation issue.
          Hide
          Paulo Nunes (Inactive) added a comment -

          So memcached works with php7. Great
          Thank you [~eduardo.fernandes@ez.no] for digging this up.

          Next step on this issue is to validate ezplatform 1.7 LTS in this environment, since Eduardo's tests focused into ezplatform master.

          Show
          Paulo Nunes (Inactive) added a comment - So memcached works with php7. Great Thank you [~eduardo.fernandes@ez.no] for digging this up. Next step on this issue is to validate ezplatform 1.7 LTS in this environment, since Eduardo's tests focused into ezplatform master.
          Hide
          Paulo Nunes (Inactive) added a comment -

          @[~eduardo.fernandes@ez.no]: Under 1.7.2-rc2 certification, I did some tests in my cluster environments and everything seems to be ok using php-memcached 3.0.1 with php 7.0 (in my case, PHP 7.0.8-0ubuntu0.16.04.3).

          Show
          Paulo Nunes (Inactive) added a comment - @ [~eduardo.fernandes@ez.no] : Under 1.7.2-rc2 certification, I did some tests in my cluster environments and everything seems to be ok using php-memcached 3.0.1 with php 7.0 (in my case, PHP 7.0.8-0ubuntu0.16.04.3).
          Hide
          Eduardo Fernandes (Inactive) added a comment - - edited

          QA tested and approved for eZP 1.7 and master.

          Show
          Eduardo Fernandes (Inactive) added a comment - - edited QA tested and approved for eZP 1.7 and master.
          Hide
          André Rømcke added a comment -

          Recommendation on requritments page is now updated to reflect that Memcached is certified while Redis is not: https://doc.ez.no/pages/viewpage.action?pageId=31429536

          Show
          André Rømcke added a comment - Recommendation on requritments page is now updated to reflect that Memcached is certified while Redis is not: https://doc.ez.no/pages/viewpage.action?pageId=31429536

            People

            • Assignee:
              Unassigned
              Reporter:
              André Rømcke
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: