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