PHP in RPM distribution



Similar documents
Software Collections

PHP 5.4 on RHEL-6 using RHSCL

Open Source Software Project Management A Case Study Red Hat Enterprise Linux. Bob Johnson, Red Hat

OPEN CLOUD INFRASTRUCTURE BUILT FOR THE ENTERPRISE

JBoss security: penetration, protection and patching. David Jorm

Solving the Package Problem? Or Making it Infinitely Worse?

Red Hat Enterprise Linux OpenStack Platform. Rhys Oxenham Principal Product Manager, OpenStack

Oracle Linux Strategy and Roadmap

Open Source Datacenter Conference 2011 System Management with RHN Satellite. Dirk Herrmann, Solution Architect, Red Hat

Security Vulnerability Management. Mark J Cox

SYSTEM DEPLOYMENT & SECURITY AUDITING WITH RHN SATELLITE & NESSUS

How Bigtop Leveraged Docker for Build Automation and One-Click Hadoop Provisioning

TUT19344 Managing RH/CentOS with SUSE Manager

How to Build an RPM OVERVIEW UNDERSTANDING THE PROCESS OF BUILDING RPMS. Author: Chris Negus Editor: Allison Pranger 09/16/2011

Notes for Installing RedHawk 6.3 with Red Hat Enterprise Linux 6.3. Installation Notes. November 6 th, 2014

Fast Lane OpenStack Overview Red Hat Enterprise Linux OpenStack Platform

By Numan Khan

CURRENT STATE OF ICINGA

This document describes the new features of this release and important changes since the previous one.

Developing tests for the KVM autotest framework

Linux Distributions. What they are, how they work, which one to choose Avi Alkalay

Stanislav Ulrych CTO RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

CPSC 491. Today: Source code control. Source Code (Version) Control. Exercise: g., no git, subversion, cvs, etc.)

The Red Hat Enterprise Linux advantages over Oracle Linux

Week Overview. Installing Linux Linux on your Desktop Virtualization Basic Linux system administration

Dynamic Kernel Module Support. Matt Domsch, Software Architect Dell, Inc.

Enabling IT Agility with an Open Hybrid Cloud

IBM Cloud Manager with OpenStack

Avnet Guide to Oracle: Oracle Linux

Improving your Drupal Development workflow with Continuous Integration

Timofey Turenko. Kirill Krinkin St-Petersburg Electrotechnical University

Copyright by Parallels Holdings, Ltd. All rights reserved.

CONQUERING COMPLIANCE ISSUES WITH RHN SATELLITE AND TENABLE NESSUS SECURITY

REDEFINING THE ENTERPRISE OS RED HAT ENTERPRISE LINUX 7

A Smart Way to Manage Packages in Yocto Project

JBoss Developer Studio 6.0

JBoss Enterprise Middleware. The foundation of your open source middleware reference architecture

Linux - CentOS 6 Install Guide

Preparing Your Business for Magento 2.0

An Oracle Technical Article October Certification with Oracle Linux 5

Over 30% of Official Images in Docker Hub Contain High Priority Security Vulnerabilities

CloudLinux is a proven solution for shared hosting providers that:

Issues update to SUSE Linux Enterprise Distribution (SLES) with regards to OFS

Oracle Linux Overview. Presented by: Anuj Verma Title: Senior Pre-Sales Consultant

Red Hat and Condor Project

Building and Managing a Standard Operating Environment

Certified Platinum Configurations

The FOSSology Project Overview and Discussion. » The Open Compliance Program. ... By Bob Gobeille, Hewlett-Packard

Acronis Backup & Recovery 10 Server for Linux. Quick Start Guide

Practicing Continuous Delivery using Hudson. Winston Prakash Oracle Corporation

Global Headquarters: 5 Speen Street Framingham, MA USA P F

Parallels Virtuozzo Containers 4.7 for Linux Readme

System management with Spacewalk

Red Hat Enterprise Linux: The ideal platform for running your Oracle database

The Operating System Lock Down Solution for Linux

Spine Warranted Environment Specification

Continuous Integration using Docker & Jenkins

Open Source Virtualization with ovirt. DI (FH) René Koch Systems Engineer Siedl Networks GmbH Grazer Linuxtage,

ANSIBLE TOWER IN THE SOFTWARE DEVELOPMENT LIFECYCLE

AT&T Global Network Client for Windows Product Support Matrix January 29, 2015

This Release Notes document is for F-Secure Linux Security.

An Intro to OpenStack. Ian Lawson Senior Solution Architect, Red Hat

Release Notes for McAfee(R) VirusScan(R) Enterprise for Linux Version Copyright (C) 2014 McAfee, Inc. All Rights Reserved.

DevOps. Josh Preston Solutions Architect Stardate

Automation and DevOps Best Practices. Rob Hirschfeld, Dell Matt Ray, Opscode

insync Installation Guide

Red Hat in The Cloud

Red Hat JBoss Core Services Apache HTTP Server 2.4 Apache HTTP Server Installation Guide

An Oracle Technical Article March Certification with Oracle Linux 7

White Paper Server. SUSE Linux Enterprise Server 12 Modules

Yocto Project Experience: Continuous Integration

Open Source Backup with Amanda

Continuous integration with Jenkins CI

One-click Hadoop Cluster Deployment on OpenPOWER Systems Pradeep K Surisetty IBM. #OpenPOWERSummit

VMware Tools Installation Guide For Operating System Specific Packages

Product Overview. Marc Skinner Principal Solutions Architect Red Hat RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Of Pets and Cattle and Hearts

System Management with Spacewalk

opennms reporting generation tool

System management with Spacewalk

TestOps: Continuous Integration when infrastructure is the product. Barry Jaspan Senior Architect, Acquia Inc.

Server Automation Managed Server Support

SUSE Linux uutuudet - kuulumiset SUSECon:sta

RED HAT SOFTWARE COLLECTIONS BRIDGING DEVELOPMENT AGILITY AND PRODUCTION STABILITY

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

CS197U: A Hands on Introduction to Unix

GitLab as an Alternative Development Platform for Github.com

Drupal 8 Development Retrospective. A timeline and retrospective from a core contributor

System Management with RHN Satellite

Qualys PC/SCAP Auditor

State of the GStreamer Project. Jan Schmidt. Centricular Ltd

ovirt: Open Your Virtual Data Center

Continuous security audit automation with Spacewalk, Puppet, Mcollective and SCAP

Transcription:

PHP in RPM distribution Why things get better Presented by Remi Collet Senior Software Engineer, Red Hat Inc. License Licensed under Creative Commons Attribution Share Alike CC-BY-SA

Today's Topics 1. Presentation 2. PHP in Enterprise Linux 3. PHP in Fedora 4. Software Collections 5. Upstream / Downstream 6. Continuous integration 7. Questions

Presentation

Presentation 1998 : PHP 3.0 user 2005 : Remi's RPM repository 2006 : Fedora contributor 2007 : Fedora PHP co-maintainer 2011 : PECL developer 2012 : Fedora / Red Hat PHP maintainer 2012 : PHP developer

Work (in Fedora) 2010 : php-fpm 2011 : php-mysqlnd 2012 : PHP 5.4 in Fedora 17 2012 : extensions for ZTS 2013 : PHP 5.5 in Fedora 19 2014 : PHP 5.6 in Fedora 21 2014 : nginx integration (Fedora 21)

Enterprise Linux

Enterprise Linux Distributions RHEL (Red Hat Enterprise Linux) CentOS Other clones (OEL, SL...) Goals Stability ABI stability API stability Long term support (>10 years) Certifications

Enterprise Linux (PHP) RHEL 4 2005 2012 (2017) PHP 4.3.9 RHEL 5 2007 2017 (2020) PHP 5.1.6 RHEL 6 2010 2020 (2023) PHP 5.3.3 RHEL 7 2014 2024 (2027) PHP 5.4.16

Enterprise Linux Backports We use the term backporting to describe when we take a fix for a security flaw out of the most recent version of an upstream software package and apply that fix to an older version of the package we distribute. 5.3.3-38 <> vanilla 5.3.3 5.3.3-38 is secure (all CVE fixed) http://www.redhat.com/advice/speaks_backport.html

Enterprise Linux Problem PHP is too old for modern webapps Solutions Upgrade to latest RHEL / CentOS :( Manual build :( Third party repository (#remirepo) Docker SCL :)

Fedora

Fedora Distributions (Version 21+) Fedora Worskstation Fedora Server Fedora Cloud Goals Latest versions, Where things happen! Stability (Updates policy) Short life cycle (~1 year) Upstream first Upstream of RHEL

Fedora (PHP) Fedora 17 May 2012 Jul 2013 - EOL PHP 5.4.1 => 5.4.17 Fedora 18 Jan 2013 Jan 2014 - EOL PHP 5.4.9 => 5.4.23 Fedora 19 Jul 2013 (Jan 2015?) PHP 5.5.0 => 5.5.18 Fedora 20 Dec 2013 PHP 5.5.6 => 5.5.18 Fedora 21 Dec 2014? PHP 5.6.2?

Fedora Problem PHP is too recent for some webapps Solutions Use another distro :( Manual build :( Docker SCL :)

Software Collections (SCL)

SCL Software Collections give you the power to build and concurrently install multiple versions of the same components on your system, without affecting the system versions of the packages installed from your distribution. https://www.softwarecollections.org/

SCL Set of packages (RPM) Separate tree Installed in /opt/<vendor>/<sclname> Launcher to enable the collection

SCL PHP versions available for Enterprise Linux RHEL-6 PHP 5.3 base - PHP 5.4 RHSCL 1.0 remi repo PHP 5.5 RHSCL 1.1 remi repo RHEL-7 base RHSCL 1.1 remi repo RHSCL 1.1 remi repo PHP 5.6 remi repo remi repo RHSCL 1.0 Sep 2013, RHSCL 1.1 Jun 2014 Also available on softwarecollections.org

SCL PHP versions available for Fedora Fedora 19 Fedora 20 Fedora 21 PHP 5.3 - - - PHP 5.4 remi repo remi repo remi repo PHP 5.5 base base remi repo PHP 5.6 remi repo remi repo base Notice: not yet allowed in official repository

SCL Demo Web: http://localhost/info.php Command Line Doctrine/instantiator test suite

SCL Virtual hosts configuration <VirtualHost *:80> ServerName php56scl # Redirect to FPM server in php56 SCL <FilesMatch \.php$> SetHandler "proxy:fcgi://127.0.0.1:9006" </FilesMatch> </VirtualHost>

SCL Links https://fedorahosted.org/softwarecollections/ http://blog.famillecollet.com/tag/scl http://developerblog.redhat.com/ http://www.softwarecollections.org/

Upstream Dowstream (about collaboration)

Upstream Downstream (and users) expectations from upstream projects Stability Semantic Versioning (semver.org) for library Roadmap Documentation Changelog Communication Test suite

Downstream Upstream (and users) expectations from downstream Recent versions Stability Documentation Integration (system consistency) QA CI Patches A packager hides distro users

Downstream What should be packaged? PHP main building from sources PECL and C extensions pecl install... Libraries (pure PHP) pear install... composer install... Web applications

Continuous Integration (PHP Stack)

Koschei KOJI = Fedora build system Koschei = KOJI Continuous Integration Launch scratch build every time a dependency is updated Allow to quickly detect Bugs FTBFS (Fail To Build From Sources) Regressions Behavior changes

Koschei PHP stack (~500 packages) is supervised http://koschei.cloud.fedoraproject.org

Koschei Bug detection (bartlett/php-compatinfo)

Koschei Test failure There was 1 failure: 1) Bartlett\Tests\CompatInfo\Reference\Extension\SysvsemExtensionTest::testGetF unctionsfromreference Function 'sem_acquire', found in Reference (4.0.0,5.6.1RC1), exists. Failed asserting that true is false. /builddir/build/build/php compat info 4f9def9b616c3af1bb577c188b66f3039e8dd333/tests/Reference/GenericTest.php:226 FAILURES! Bug reported and fixed upstream

Summary Things get better :) Enterprise Linux have recent PHP Parallel installation RPM distributions are a good choice for PHP developers

Questions? Contact: remi@fedoraproject.org remi@php.net License Licensed under Creative Commons Attribution Share Alike CC-BY-SA

Remi's RPM repository Upstream for Fedora Upstream for RHEL, CentOS and clones Upstream for all third party repositories Latest versions (5.4.34, 5.5.18, 5.6.2) Fedora 17 to 21, EL 5 to 7 Base packages (replacement) 1 repository per version (remi, remi-php55, remi-php56) SCL packages (parallel installation) 1 SCL per version (php54, php55, php56)