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”
Merci pour cette mise à jour ! Mais pourquoi depuis celle-ci je me tape un “502 Bad Gateway” quand j’accède à mon site ?!
@Qwaser : peut-être peux-tu nous en dire davantage sur ta configuration (http://localhost:8080/2012/08/24/how-to-post-useful-bug-reports/) et aller fouiller dans tes logs (/var/log/php5-fpm.log par défaut en ce qui concerne PHP-FPM) pour voir ce qui pose problème.
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.
will now**
XCache is still missing. Will it come in future or not?
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
@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.
@Qwaser : dans la liste des paquets installés, je ne vois pas php5-fpm. Assure toi qu’il l’est bien.
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.
I’ve gotten a few errors on a couple boxes pertaining to 7.1 (instead of 7.2):
E: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php56-zts/php5/binary-amd64/php5-sqlite_5.6.10-1~dotdeb+zts+7.1_amd64.deb 404 Not Found
E: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php56-zts/php5/binary-amd64/php5-mcrypt_5.6.10-1~dotdeb+zts+7.1_amd64.deb 404 Not Found
E: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php56-zts/php5/binary-amd64/php5-gd_5.6.10-1~dotdeb+zts+7.1_amd64.deb 404 Not Found
E: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php56-zts/php5/binary-amd64/php5-common_5.6.10-1~dotdeb+zts+7.1_amd64.deb 404 Not Found
I appears that the ZTS repo was updated to 7.2 but the indexes still point to 7.1.
@Nick : fixed. Sorry for this issue.
FYI, new PHP 5.6 packages have been uploaded to fix the PCRE issue that some Apache users encountered https://github.com/gplessis/dotdeb-php5/issues/85
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.
When will the fixed packages appear in the apt repo?
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.
@Alex : which version / flavor of Apache are you using?
@Alex : which version / flavor of Apache are you using?
@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
@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.
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!
@Alex : so please stick to PHP 5.6 from Jessie for now
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