Remi's RPM repository - Blog

  

Blog | Forum | Repository | Wizard

Mot-clé - planet-php

Fil des billets - Fil des commentaires

mercredi 9 septembre 2015

Windows files access from Linux in PHP

I just discover the libsmbclient-php project, here some information.

Lire la suite...

vendredi 24 juillet 2015

New "remi-php70" repository

I've just open the remi-php70 repository for Fedora ≥ 21 and Enterprise Linux ≥ 6.

Lire la suite...

mardi 7 juillet 2015

About libmcrypt and php-mcrypt

I can't count the number of time I had to explain why using this library or this PHP extension is a terrible mistake. So time to blog about  it.

 

Lire la suite...

mardi 23 juin 2015

Red Hat provides PHP 5.6 for RHEL (and CentOS)

Announcement : Red Hat Software Collections 2 – now generally available

And for CentOS : Software Collections 2.0 available

Lire la suite...

mercredi 25 mars 2015

PHP 7.0 as Software Collection

RPM of upcoming major version of PHP 7.0, are available in remi repository for Fedora 20, 21, 22 and Enterprise Linux 6, 7 (RHEL, CentOS, ...) in a fresh new Software Collection (php70) allowing its installation beside the system version.

Lire la suite...

jeudi 11 décembre 2014

PHP-FPM in Docker

Use case : running php 5.3.3 on a Fedora 20 / 21 development workstation, for production deployment on  RHEL-6 (as no php 5.3 SCL exists).

Lire la suite...

vendredi 28 novembre 2014

PHP version 5.5.20RC1 and 5.6.4RC1

emblem-notice-24.pngNEW : Release Candidate versions are now available in remi-test repository for Fedora and Enterprise Linux (RHEL / CentOS) to allow more people to test them. They are only available as Software Collections, for a parallel installation, perfect solution for such tests.

RPM of PHP version 5.6.4RC1 as SCL are available in remi-test repository for Fedora 19-21 and Enterprise Linux.

RPM of PHP version 5.5.20RC1 as SCL are available in remi-test repository for Fedora 21 and Enterprise Linux.

Lire la suite...

lundi 25 août 2014

PHP 5.6 as Software Collection

RPM of upcoming new major version of PHP 5.6, are available in remi repository for Fedora 19, 20, 21 and Enterprise Linux 6, 7 (RHEL, CentOS, ...) in a fresh new Software Collection (php56) allowing its installation beside the system version.

Lire la suite...

mardi 12 août 2014

Koschei: continuous integration of PHP stack in Fedora

Continuous Integration is a common concern of all developers.

Most of projects  use some tool, like Travis (available on github.com). PHP have its own tests suite. This allow to check that each modification of the source code doesn't introduce any regression.

This seems enough for a project, but for the whole PHP stack, we need to:

  • check that any dependency update doesn't break other projects using it
  • check that a PHP update doesn't introduce any regression in other projects, as soon as a Release Candidate is released (PHP versions available in travis/github are often a bit outdated)
  • check that packaging related change doesn't break anything

The Koschei project is an answer to those needs, by supervising updates in rawhide (development branch of Fedora) and launching scratch build of all dependent packages.

As a lot of tools, libraries and framework are available in Fedora repository, they have been added so they are now monitored, especially:

  • PHP (only version 5.6 for now)
  • PHPUnit and its dependencies
  • Symfony
  • Doctrine
  • Horde
  • etc

Instance URL : http://koschei.cloud.fedoraproject.org/

This new tool should have allowed us to detect sooner recent regressions introduced in PHP version 5.4.29 and 5.5.13. So I plan to import next  Release Candidate as soon as possible, so we can take benefit of this supervision.

For example, we just detect a new FTBFS in symfony test suite after the update of PHPUnit 4.2.0 (it was a packaging issue, and is already fixed).

Of course, it means we need to have a test suite for each project, and to run it during the package build, but this is, for a long time, part of the good practices.

We'll see how this tool behave, but I think it really brings an important improvement for continuous integration of the whole PHP stack.

This is also, and mostly, a tool for which results should give benefits to each project, proving the usefulness of projects collaboration (upstream / downstream), and giving even more interest, for each project, to be available in a downstream distribution, such as Fedora.

vendredi 1 août 2014

Apache httpd server 2.4.10 and PHP-FPM 5.6 in Fedora 21

Since the update in Fedora 21 of httpd version 2.4.10 and php 5.6.0RC3, you can avoid using mod_php. php-fpm works "out of the box", with default provided configuration.

Lire la suite...

mardi 10 juin 2014

RHEL-7, EPEL-7, remi-7 and PHP

Red Hat Enterprise Linux 7 is released, see: Red Hat Enterprise Linux 7 now Generally Available

Lire la suite...

vendredi 28 mars 2014

PHP-FPM and HTTPD 2.4 improvement

Addition to the previous article: PHP-FPM and HTTPD 2.4

Until now, we have to use the ProxyPassMatch directive, not very flexible, here is very simpler solution.

Lire la suite...

jeudi 20 mars 2014

Red Hat will provide PHP 5.5 for RHEL-6

Announce : Red Hat Software Collections 1.1 now available

Lire la suite...

jeudi 7 novembre 2013

Various PHP versions with an Apache 2.4 server

For my talk about Software Collections Introduction I done a demonstration on using a single Apache web server running simultaneously 3 PHP versions (5.3, 5.4 et 5.5).

Here is an how to implement this on RHEL 6 or CentOS 6.

Of course this configuration can be used on all distributions, if you can install various versions of the same application, or if you know how to build from sources. It's just easier with SCL.

Lire la suite...

page 2 de 2 -