On October 2nd 2014, the PHP group released PHP 5.6.1.
Several bugs were fixed in this release. All PHP 5.6 users are encouraged to upgrade to this version.
PHP 5.6.1 packages are now available on Dotdeb for Debian 7.6 “Wheezy”, on both amd64 and i386 architectures.
Please also note these points :
- Regression : php5-memcached lacks JSON support
- Missing packages : Xdebug and Xhprof are missing for now
- End of support : Spplus won’t be supported anymore. Xcache’s and Pinba’s fates haven’t been decided yet
As a consequence :
- Don’t upgrade yet if you need missing features
- For users upgrading from PHP 5.5, a full migration guide is available, detailing the changes between 5.5 and 5.6.0
- The full list of changes is available in the ChangeLog
- Your feedbacks are always welcome. Just make sure they are useful.
To install PHP 5.6 or to upgrade from previous version just follow the instructions.
23 replies on “PHP 5.6.1 for Wheezy”
Great, many thanks!
Boot order was not fixed for php5-pecl-http. Please, make http.so to be loaded after raphf.so
Version PHP 5.6.1-1~dotdeb.1 :
1 – I have a same problem for pear and pecl (install or upgrade or upgrade-all) :
[…]
could not extract the package.xml file from “/usr/src/php5.6/source/dotdeb-php5/pear-build-download/*.tgz”
Download of “…” succeeded, but it is not a valid package archive
Error: cannot download “…”
Download failed
upgrade-all failed
[…]
2 – I can’t find pecl.so
Thanks.
[PROBLEM SOLVED]
Problem with pear and pecl after upgrade php in the last version :
Problem :
[…]
could not extract the package.xml file from “/usr/src/php5.6/source/dotdeb-php5/pear-build-download/*.tgz”
Download of “…” succeeded, but it is not a valid package archive
Error: cannot download “…”
Download failed
upgrade-all failed
[…]
Solution :
– Backup Tar.php in /usr/share/php/Archive/
> cd /usr/share/php/Archive/
> mv Tar.php Tar.php.bkp
Download Archive_tar and extract it
> wget http://download.pear.php.net/package/Archive_Tar-1.3.13.tgz
> tar zxvf Archive_Tar-1.3.13.tgz
Copy Tar.php and Archive_Tar.txt in the original destination
> cp /Archive_Tar-1.3.13/Archive/Tar.php /usr/share/php/Archive/
> cp /Archive_Tar-1.3.13/docs/Archive_Tar.txt /usr/share/php/doc/Archive_Tar/
Run command 😀
> pear upgrade-all
or
> pecl upgrade-all
Work for me ^_^ , no error
@Iaina Randrianarivony : sorry for not fixing this in the new release. I’ll upload a new build in a few days.
https://github.com/gplessis/dotdeb-php5/commit/7cea26e780e54d38fa49a9dec0a9b41e1850417a
I’ve some trouble installing php-apc:
# apt-get install php-apc
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php-apc : Depends: phpapi-20100525
E: Unable to correct problems, you have held broken packages.
Also when I try to install the dependency manually:
# apt-get install phpapi-20100525
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package phpapi-20100525 is a virtual package provided by:
php5-fpm 5.4.33-1~dotdeb.1 [Not candidate version]
php5-cli 5.4.33-1~dotdeb.1 [Not candidate version]
php5-cgi 5.4.33-1~dotdeb.1 [Not candidate version]
libphp5-embed 5.4.33-1~dotdeb.1 [Not candidate version]
libapache2-mod-php5filter 5.4.33-1~dotdeb.1 [Not candidate version]
libapache2-mod-php5 5.4.33-1~dotdeb.1 [Not candidate version]
php5-fpm 5.4.4-14+deb7u14 [Not candidate version]
php5-cli 5.4.4-14+deb7u14 [Not candidate version]
php5-cgi 5.4.4-14+deb7u14 [Not candidate version]
libphp5-embed 5.4.4-14+deb7u14 [Not candidate version]
libapache2-mod-php5filter 5.4.4-14+deb7u14 [Not candidate version]
libapache2-mod-php5 5.4.4-14+deb7u14 [Not candidate version]
php5-fpm 5.4.4-14+deb7u11 [Not candidate version]
php5-cli 5.4.4-14+deb7u11 [Not candidate version]
php5-cgi 5.4.4-14+deb7u11 [Not candidate version]
libphp5-embed 5.4.4-14+deb7u11 [Not candidate version]
libapache2-mod-php5filter 5.4.4-14+deb7u11 [Not candidate version]
libapache2-mod-php5 5.4.4-14+deb7u11 [Not candidate version]
E: Package ‘phpapi-20100525’ has no installation candidate
Should php-apc be supported? Any clue why it isn’t working properly?
Thanks in advance!
@Nextpertise : APC doesn’t exist for PHP 5.6. For the opcodes cache, it has been replaced by Zend Opcache that is bundled in php5-common. For the user cache, please install php5-apcu.
Please find a fix for xdebug. Debugging in PHP is a pain without it.
> apt-get install php5-xdebug
The following packages have unmet dependencies:
php5-xdebug : Depends: phpapi-20100525
Depends: php5-common (= 5.4.33-1~dotdeb.1) but 5.6.0-1~dotdeb.1 is to be installed
E: Unable to correct problems, you have held broken packages.
pecl install xdebug
for curiosity, i have a squeeze system, can i install PHP5.6.1 on it or must i update the system to wheeze first ?
greets from germany
Deep
@DeepSurfer : you have to upgrade to Wheezy first.
thx for answer
greets
Hello,
i upgraded from 5.5 to 5.6 and get the following error:
initctl: Unknown job: php5-fpm
I can’t start php5-fpm with services php5-fpm start:
– start: Unknown job: php5-fpm
If i try to start it with /etc/init.d/php5-fpm start nothing happens
I googled for a solution and found this https://github.com/gplessis/dotdeb-php5/issues/45
But that doesn’t work for me… Or maybe iam doing something wrong.
Do you need any more infos? Iam on Debian 7.6.
Marcel : Try
> apt-get install –reinstall php5-fpm.
xcache with PHP 5.6 support
http://xcache.lighttpd.net/browser/tags/3.2.0/ChangeLog
I needed to remove following line
reload signal USR2
from /etc/init/php5-fpm.conf-files
in order for php-fpm to start
Ok so I had 5.6.0beta3 installed, then realised 5.6.1 came out…I built it, but now unfortunately I don’t know how to change the version of PHP that apache uses. How do I do that?
@Marcel,
I have the same problem – can not start php-fpm with /etc/init.d/php5-fpm start INSTEAD I can use service php5-fpm start
@Guillaume,
As you can see many users can not start php5-fpm with /etc/init.d/php5-fpm start INSTEAD must use service php5-fpm start IS this a bug or a feature? 🙂
Any news about current Stable PHP 5.6.2? 🙂
For all of you that can not start php-fpm here is the solution http://hadzimahmutovic.com/php-fpm-php56-wheezy-dotdeb/php-fpm-56-init-script-will-not-start-wheezy
Hello.
Since PHP 5.6 upgrade (from 5.5), storing PHP sessions using memcached does not work anymore (with session.save_handler = memcache / session.save_path = “tcp://127.0.0.1:11211” like explained on http://localhost:8080/2008/08/25/storing-your-php-sessions-using-memcached/ ).
Apache starts but pages display very slowly (without errors in error.log).
Do you know why?
Thank you.
Thank you Nedim Hadzimahmutovic