Categories
PHP

PHP 5.6.10 for Wheezy

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 replies on “PHP 5.6.10 for Wheezy”

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.

@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.

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 ?

@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.

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 ?

@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.

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.

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.

@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

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.

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.

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

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

Comments are closed.