Posted by & filed under PHP.

On June 11th 2015, the PHP group released PHP 5.6.10.

Several bugs have been fixed as well as several security issues into some bundled libraries (CVE-2015-3414, CVE-2015-3415, CVE-2015-3416, CVE-2015-2325 and CVE-2015-2326). All PHP 5.6 users are encouraged to upgrade to this version.

PHP 5.6.10 packages are now available for Debian 7 “Wheezy”, on both amd64 and i386 architectures, in ZTS and non-ZTS (default) flavors, along with packages of Xdebug (yeah!), XHprof (yeah! x2) and other PECL extensions.

Note : php5-memcached still lacks JSON support.

27 Responses to “PHP 5.6.10 for Wheezy”

  1. Qwaser

    Merci pour cette mise à jour ! Mais pourquoi depuis celle-ci je me tape un “502 Bad Gateway” quand j’accède à mon site ?!

  2. Alexander

    Thank you for xdebug and xhprof. Very useful. Will not swtich to 5.6 completely.

    However am highly hope, that you can start with PHP 7. Alphas is cool as well, because it’s very hard to compile self. At least to test code.

  3. Michael Neubert

    XCache is still missing. Will it come in future or not?

  4. Qwaser

    J’ai essayer de suivre les question demandés dans ton premier lien ainsi que le log que tu m’as demandé de voir.
    J’ai mit tout ça au propre ici : http://lc.cx/ZTHt

  5. Guillaume Plessis

    @Qwaser : la 502 signifie que Nginx n’arrive pas à communiquer avec PHP-FPM. Ce dernier est-il bien lancé? Le socket qui fait le lien entre les deux existe-t-il?

    Pour information, tu utilises des paquets wheezy-php56 sur une Jessie. Situation pas vraiment conseillée.

  6. Qwaser

    Alors là merci… pour vérifié que php5-fpm était bien installé, je lance un apt-get install php5-fpm et là il me demande si je veux bien l’installer xD Donc le problème était qu’il ne l’était pas. Ce qui surprends car il l’était pourtant ^^ Enfin merci de m’avoir aiguillé sur la bonne voie 🙂

    PS : Existe-t-il des paquets jessie-php56 ? Vu que ceux de wheezy ne sont pas conseillés ?

  7. Guillaume Plessis

    @Qwaser : non, pas de paquet jessie-php56 pour la simple et bonne raison que PHP 5.6.9 (+ backports de sécurité) est déjà présent dans Jessie. Je ne souhaite pas dupliquer ce travail.

  8. Qwaser

    D’accord, merci pour cette indication que j’ignorais 🙂
    Donc tu penses que les premiers paquet jessie-php arriverons pour quelle version de PHP ? La 5.7 ?

  9. Guillaume Plessis

    @Qwaser : il n’y aura pas de PHP 5.7, ça sera PHP 7, qui s’avère prometteur. Mais qui pose quelques soucis supplémentaires en terme de packaging (changement de nom). J’attend de voir ce que font les mainteneurs Debian.

  10. Alex

    This breaks the wheezy Apache:

    Jun 15 21:21:10 ramses apache2[11862]: Starting web server: apache2 failed!
    Jun 15 21:21:10 ramses apache2[11862]: The apache2 configtest failed. … (warning).
    Jun 15 21:21:10 ramses apache2[11862]: Output of config test was:
    Jun 15 21:21:10 ramses apache2[11862]: apache2: Syntax error on line 140 of
    /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot
    load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so:
    undefined symbol: unixd_config
    Jun 15 21:21:10 ramses apache2[11862]: Action ‘configtest’ failed.
    Jun 15 21:21:10 ramses apache2[11862]: The Apache error log may have more information.
    Jun 15 21:21:10 ramses systemd[1]: apache2.service: control process exited, code=exited status=1
    Jun 15 21:21:10 ramses systemd[1]: Failed to start LSB: Apache2 web server.
    Jun 15 21:21:10 ramses systemd[1]: Unit apache2.service entered failed state.

  11. Brian Tafoya

    I too have experienced the broken server as well.

    apache2: Syntax error on line 244 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory
    Action ‘configtest’ failed.
    The Apache error log may have more information.

  12. Alex

    @Guillaume it’s the normal Apache 2.4.10 of Debian Wheezy:

    Server version: Apache/2.4.10 (Debian)
    Server built: Mar 15 2015 09:51:43

  13. Guillaume Plessis

    @Alex : unfortunately, there is no official Apache 2.4 for Wheezy (https://packages.debian.org/search?keywords=apache2) and the latest changes in Dotdeb’s PHP 5.6 packages introduced a conflict in the PCRE lib of your setup.

    There are two options for you :
    – downgrade to Wheezy’s Apache 2.2
    – keep Apache 2.4 from Jessie (I suppose) and stick to PHP 5.6 from Jessie as well.

    Sorry for this.

  14. Alistair

    Hi I just tried to use php 5.6.10 and when I run any php command I get this at the top

    “Xdebug requires Zend Engine API version 220121212.
    The Zend Engine API version 220131226 which is installed, is newer.”

    I even tried to remove every php56 package and reinstall everything but got the same issue.

  15. Alistair

    Sorry ignore me. I cleaned up lots of other things and completely reinstalled and it started working. Think I was messing around with manually compiling xdebug some time ago and think that lead to my issue.

  16. Alex

    @Guillaume I’m sorry, I chose the wrong distribution. Of course, it’s Apache 2.4 for Debian Jessie!

  17. pete

    Hallo!
    I have imagick-php installed on my system (Weezy). After i installed the ZTS repo i habe PERMISSION denied Error in imageick php scripts by writing file. Of cource i checked ower and group of file. Any idea? all i changed was the repo so maybe you can help?
    thank you for the zts repo