On May 9th 2013, the PHP group has released PHP 5.4.15 and PHP 5.3.25.
These releases fix about 10 bugs aswell as upgrading the bundled libmagic library. All users of PHP are encouraged to upgrade to PHP 5.4.15.
The corresponding packages are now available on Dotdeb :
- for Debian 7.0 “Wheezy” and Debian 6.0 “Squeeze”,
- on both amd64 and i386 architectures.
Please note that the php5-ffmpeg and php5-pinba packages for PHP 5.4 are missing on Wheezy. They should appear in the next few days, after their source code has been made compatible with Debian’s multi-arch scheme.
As usual, please read the ChangeLog before upgrading and be sure to use to the latest packages before reporting any issue. And if you want to support Dotdeb, take a look at this page.
So the problem is that wheezy ships with libmemcached10 version 10.0.8 and php5-memcached needs 10.0.10
could you create an updated version of libmemcached10 as you did with squeeze?
Thanks
the php53 repo is no longer relevant to wheezy as default php in wheezy is 5.4 - i suspect there will be an extra repo created for php 5.5 for wheezy only once php 5.5 goes GA/stable
if you are still on squeeze you will need to change stable to squeeze for your dotdeb lines for things to continue working correctly
@Anthony, thanks. I’m using Ubuntu 13.04 and after switching to squeeze or oldstable I’m getting the following: > The following packages have unmet dependencies: > libapache2-mod-php5 : Depends: libdb4.8 but it is not installable
Is there a recommended way of using dotdeb on Ubuntu?
the quickest recommendation is dont! there are too many dependancy differences than its worth spending the time on to manually resolve each time - there are ubuntu PPA’s out there that achieve the same effect as dotdeb for debian as well
DotDeb only works on debian and is only supported on debian (squeeze and wheezy) systems
But the PPA you mentioned contains only PHP 5.4 packages. Are you aware of any PHP 5.3 PPA for Ubuntu?
Currently I’ve reverted back to Ubuntu precise’ channel but packages for Ubuntu contain a bug https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1046330 due to which I had to use DotDeb’s packages. And everything worked fine for me until today.
Hi Guillaume, after todays “aptitude full-upgrade” the server gives me this:
The following NEW packages will be installed: libapache2-mod-php5filter{ab} The following packages will be upgraded: php5-geoip{b} 1 packages upgraded, 1 newly installed, 0 to remove and 13 not upgraded. Need to get 2,858 kB of archives. After unpacking 9,656 kB will be used. The following packages have unmet dependencies: libapache2-mod-php5: Conflicts: libapache2-mod-php5filter but 5.4.15-1
dotdeb.2 is to be installed. php5-geoip: Depends: php5-common (= 5.4.15-1dotdeb.2) but 5.3.25-1dotdeb.0 is installed and it is kept back. libapache2-mod-php5filter: Depends: libdb5.1 which is a virtual package. Depends: libssl1.0.0 (>= 1.0.0) which is a virtual package. Depends: libxml2 (>= 2.8.0) but 2.7.8.dfsg-2+squeeze7 is installed. Depends: php5-common (= 5.4.15-1dotdeb.2) but 5.3.25-1dotdeb.0 is installed and it is kept back. Conflicts: libapache2-mod-php5 but 5.3.25-1dotdeb.0 is installed and it is kept back. The following actions will resolve these dependencies:on' Keep the following packages at their current version: 2) libapache2-mod-php5filter [Not Installed]
So I accept the action, because I would hold the PHP 5.3.25 version for some reasons (have tried PHP 5.4 but doesn’t work with all my Joomla pages / extensions).
Now I don’t have “php5-geoip” anymore which I understand is only possible in conjuction with PHP 5.4. What would you recommend in this matter?
Any help would be appreciate.
Thx
Jens
And a cron.d warning:
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php5/20090626/geoip.so’ - /usr/lib/php5/20090626/geoip.so: cannot open shared object file: No such file or directory in Unknown on line 0
O.K. Makes sense :-) here are the additional information:
Dotdeb Mirror
deb http://packages.dotdeb.org squeeze all deb-src http://packages.dotdeb.org squeeze all
Hetzner APT-Mirror
deb http://mirror.hetzner.de/debian/packages squeeze main contrib non-free deb http://mirror.hetzner.de/debian/security squeeze/updates main contrib non-free
dotdeb.0 PEAR - PHP Extension and Application Repository ii php5 5.3.25-1dotdeb.0 server-side, HTML-embedded scripting language (metapackage) ii php5-cgi 5.3.25-1dotdeb.0 server-side, HTML-embedded scripting language (CGI binary) ii php5-cli 5.3.25-1dotdeb.0 command-line interpreter for the php5 scripting language ii php5-common 5.3.25-1dotdeb.0 Common files for packages built from the php5 source ii php5-curl 5.3.25-1dotdeb.0 CURL module for php5 ii php5-dev 5.3.24-1dotdeb.0 Files for PHP5 module development ii php5-gd 5.3.25-1dotdeb.0 GD module for php5 ii php5-imap 5.3.25-1dotdeb.0 IMAP module for php5 ii php5-ioncube-loader 4.0.14-12051415 PHP ionCube Loader ii php5-mysql 5.3.25-1dotdeb.0 MySQL module for php5 ii php5-sqlite 5.3.25-1dotdeb.0 SQLite module for php5 ii php5-suhosin 5.3.25-1dotdeb.0 suhosin module for php5 ii php5-xsl 5.3.25-1~dotdeb.0 XSL module for php5Hope these are all infos you need…
Sure, here is the output:
libapache2-mod-php5: Installed: 5.3.25-1
dotdeb.0 Candidate: 5.4.15-1dotdeb.2 Version table: 5.4.15-1dotdeb.2 0 500 http://packages.dotdeb.org/ stable/all amd64 Packages *** 5.3.25-1dotdeb.0 0 100 /var/lib/dpkg/status 5.3.3-7+squeeze15 0 500 http://mirror.hetzner.de/debian/security/ squeeze/updates/main amd64 Packages 500 http://security.debian.org/ squeeze/updates/main amd64 Packages 5.3.3-7+squeeze14 0 500 http://mirror.hetzner.de/debian/packages/ squeeze/main amd64 PackagesThank you very much for your help!
@Jens : replace this line
by
Run apt-get/aptitude update and your dependency problem should be resolved.
@Guillaume
After deleting the “Hold Status” to the corresponding PHP5(3/4) packages and run “aptitude full-upgrade” I unfortunately got this:
root@server2 ~ # aptitude full-upgrade The following packages will be upgraded: libapache2-mod-php5{b} php-pear php5 php5-cgi{b} php5-cli{b} php5-common{b} php5-curl php5-dev php5-gd{b} php5-imap{b} php5-mysql{b} php5-sqlite php5-xsl 13 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 12.9 MB of archives. After unpacking 64.5 kB will be used. The following packages have unmet dependencies: libapache2-mod-php5: Depends: libdb5.1 which is a virtual package. Depends: libssl1.0.0 (>= 1.0.0) which is a virtual package. Depends: libxml2 (>= 2.8.0) but 2.7.8.dfsg-2+squeeze7 is installed. php5-gd: Depends: libjpeg8 (>= 8c) but it is not going to be installed. php5-suhosin: Depends: php5-common (= 5.3.25-1
dotdeb.0) but 5.4.15-1dotdeb.2 is to be installed. php5-imap: Depends: libssl1.0.0 (>= 1.0.0) which is a virtual package. php5-mysql: Depends: libmysqlclient18 (>= 5.5.24+dfsg-1) which is a virtual package. php5-cgi: Depends: libdb5.1 which is a virtual package. Depends: libssl1.0.0 (>= 1.0.0) which is a virtual package. Depends: libxml2 (>= 2.8.0) but 2.7.8.dfsg-2+squeeze7 is installed. php5-cli: Depends: libdb5.1 which is a virtual package. Depends: libssl1.0.0 (>= 1.0.0) which is a virtual package. Depends: libtinfo5 which is a virtual package. Depends: libxml2 (>= 2.8.0) but 2.7.8.dfsg-2+squeeze7 is installed. php5-common: Conflicts: php5-suhosin but 5.3.25-1~dotdeb.0 is installed. The following actions will resolve these dependencies:So it seems, that changing the source line (from “squeeze” into “stable”) has no effect because the system want absolutely install the PHP 5.4 version…
And this now:
root@server2 ~ # apt-cache policy libapache2-mod-php5 libapache2-mod-php5: Installed: 5.3.25-1
dotdeb.0 Candidate: 5.4.15-1dotdeb.2 Version table: 5.4.15-1dotdeb.2 0 500 http://packages.dotdeb.org/ stable/all amd64 Packages *** 5.3.25-1dotdeb.0 0 100 /var/lib/dpkg/status 5.3.3-7+squeeze15 0 500 http://mirror.hetzner.de/debian/security/ squeeze/updates/main amd64 Packages 500 http://security.debian.org/ squeeze/updates/main amd64 Packages 5.3.3-7+squeeze14 0 500 http://mirror.hetzner.de/debian/packages/ squeeze/main amd64 Packages@Jens : make this line disappear!
5.4.15-1~dotdeb.2 0 500 http://packages.dotdeb.org/ stable/all amd64 PackagesSorry to bother you again but after comment out all the corresponding lines in the “sources.list and clearing the cache the same messages comes up.
Here is the current sources.list:
Dotdeb Mirror
deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all
#######################################################################################
Hetzner APT-Mirror
deb http://mirror.hetzner.de/debian/packages squeeze main contrib non-free deb http://mirror.hetzner.de/debian/security squeeze/updates main contrib non-free
The following packages will be upgraded: libapache2-mod-php5{b} php-pear php5 php5-cgi{b} php5-cli{b} php5-common{b} php5-curl php5-dev php5-gd{b} php5-imap{b} php5-mysql{b} php5-sqlite php5-xsl 13 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 12.9 MB of archives. After unpacking 64.5 kB will be used. The following packages have unmet dependencies: libapache2-mod-php5: Depends: libdb5.1 which is a virtual package. Depends: libssl1.0.0 (>= 1.0.0) which is a virtual package. Depends: libxml2 (>= 2.8.0) but 2.7.8.dfsg-2+squeeze7 is installed. php5-gd: Depends: libjpeg8 (>= 8c) but it is not going to be installed. php5-suhosin: Depends: php5-common (= 5.3.25-1
dotdeb.0) but 5.4.15-1dotdeb.2 is to be installed. php5-imap: Depends: libssl1.0.0 (>= 1.0.0) which is a virtual package. php5-mysql: Depends: libmysqlclient18 (>= 5.5.24+dfsg-1) which is a virtual package. php5-cgi: Depends: libdb5.1 which is a virtual package. Depends: libssl1.0.0 (>= 1.0.0) which is a virtual package. Depends: libxml2 (>= 2.8.0) but 2.7.8.dfsg-2+squeeze7 is installed. php5-cli: Depends: libdb5.1 which is a virtual package. Depends: libssl1.0.0 (>= 1.0.0) which is a virtual package. Depends: libtinfo5 which is a virtual package. Depends: libxml2 (>= 2.8.0) but 2.7.8.dfsg-2+squeeze7 is installed. php5-common: Conflicts: php5-suhosin but 5.3.25-1~dotdeb.0 is installed. The following actions will resolve these dependencies:and so on…
Oh yeah. That was the trick!
On /etc/apt/sources.list.d/ there was a file called “dotdeb.list”. After comment out the two lines
#deb http://packages.dotdeb.org stable all #deb-src http://packages.dotdeb.org stable all
and running
aptitude update aptitude full-upgrade
all the dependency errors disappeared.
But this means now, that “only” the official Debian Squeeze updates are possible, not the repo from your beautiful dotdeb site, right?
How could I resolve this?
“# Dotdeb Mirror
deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all”
I think you should use squeeze instead stable because squeeze is now oldstable.
O.K. now. Have deleted the “dotdeb.list” anbd renewed the sources.list. Then aptitude update and aptitude full-upgrade…
Works like a charm now.
Again many thanks for the amazing support. Have a great week!
I’ve followed your guys’ advice but my php still isn’t working! Actually it has broken my whole web server…
Here is the output I get when running apt-cache policy:
root@NewSubversion:
# apt-cache policy libapache2-mod-php5 libapache2-mod-php5: Installed: (none) Candidate: 5.4.15-1dotdeb.1 Version table: 5.4.15-1dotdeb.1 0 500 http://packages.dotdeb.org/ squeeze-php54/all i386 Packages 5.3.25-1dotdeb.0 0 500 http://packages.dotdeb.org/ squeeze/all i386 Packages 5.3.24-1~dotdeb.0 0 100 /var/lib/dpkg/status 5.3.3-7+squeeze15 0 500 http://security.debian.org/ squeeze/updates/main i386 Packages 5.3.3-7+squeeze14 0 500 http://ftp.us.debian.org/debian/ squeeze/main i386 Packagesroot@NewSubversion:
# apt-cache policy php5-cgi php5-cgi: Installed: (none) Candidate: 5.4.15-1dotdeb.1 Version table: 5.4.15-1dotdeb.1 0 500 http://packages.dotdeb.org/ squeeze-php54/all i386 Packages 5.3.25-1dotdeb.0 0 500 http://packages.dotdeb.org/ squeeze/all i386 Packages 5.3.3-7+squeeze15 0 500 http://security.debian.org/ squeeze/updates/main i386 Packages 5.3.3-7+squeeze14 0 500 http://ftp.us.debian.org/debian/ squeeze/main i386 PackagesAs you can see, I run subversion as well. Could this be an issue? PLEASE HELP!!
@Dee : “my php still isn’t working” < Could you be more specific? What are you running? What do you want to do? What is exactly the problem?
Feel free to read this : /2012/08/24/how-to-post-useful-bug-reports/
“The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form”
Using PHP 5.4.15-1~dotdeb.2 and Nginx max upload is set to 2GB in both php.ini and nginx conf, phpinfo confims this. Have read that it could be a PHP bug and a patch can be compiled with it, is that the case or? :)
Hi Guillaume! Today I tried updating PHP 5.4.8 to 5.4.15 on Debian Squeeze (686), but when doing
aptitude install php5I get some dependency problems. This is the output:The following NEW packages will be installed: libapache2-mod-php5{ab} lsof{a} The following packages will be upgraded: php5 php5-common 2 packages upgraded, 2 newly installed, 0 to remove and 95 not upgraded. Need to get 3529 kB of archives. After unpacking 9138 kB will be used. The following packages have unmet dependencies: libapache2-mod-php5filter: Depends: php5-common (= 5.4.8-1
dotdeb.0) but 5.4.15-1dotdeb.1 is to be installed. Conflicts: libapache2-mod-php5 but 5.4.15-1dotdeb.1 is to be installed. php5-xdebug: Depends: php5-common (= 5.4.8-1dotdeb.0) but 5.4.15-1dotdeb.1 is to be installed. php5-gd: Depends: php5-common (= 5.4.8-1dotdeb.0) but 5.4.15-1dotdeb.1 is to be installed. php5-mcrypt: Depends: php5-common (= 5.4.8-1dotdeb.0) but 5.4.15-1dotdeb.1 is to be installed. php5-mysql: Depends: php5-common (= 5.4.8-1dotdeb.0) but 5.4.15-1dotdeb.1 is to be installed. php5-cli: Depends: php5-common (= 5.4.8-1dotdeb.0) but 5.4.15-1dotdeb.1 is to be installed. libapache2-mod-php5: Conflicts: libapache2-mod-php5filter but 5.4.8-1dotdeb.0 is installed and it is kept back. The following actions will resolve these dependencies:Leave the following dependencies unresolved:
My /etc/apt/sources.list (sources.list.d is empty):
deb http://ftp.de.debian.org/debian squeeze main contrib non-free deb http://ftp.de.debian.org/debian-security squeeze/updates main contrib non-free
deb http://packages.dotdeb.org squeeze all deb-src http://packages.dotdeb.org squeeze all
deb http://packages.dotdeb.org squeeze-php54 all deb-src http://packages.dotdeb.org squeeze-php54 all
dpkg -l ‘php*’ | grep ‘^.i’ ii php-pear 5.3.3-7+squeeze1 PEAR - PHP Extension and Application Repository ii php5 5.4.8-1
dotdeb.0 server-side, HTML-embedded scripting language (metapackage) ii php5-cli 5.4.8-1dotdeb.0 command-line interpreter for the php5 scripting language ii php5-common 5.4.8-1dotdeb.0 Common files for packages built from the php5 source ii php5-gd 5.4.8-1dotdeb.0 GD module for php5 ii php5-mcrypt 5.4.8-1dotdeb.0 MCrypt module for php5 ii php5-mysql 5.4.8-1dotdeb.0 MySQL module for php5 ii php5-xdebug 5.4.8-1~dotdeb.0 xdebug module for php5 ii phpmyadmin 4:3.3.7-5 MySQL web administration toolapt-cache policy libapache2-mod-php5 gives me this:
libapache2-mod-php5: Installed: (none) Candidate: 5.4.15-1
dotdeb.1 Version table: 5.4.15-1dotdeb.1 0 500 http://packages.dotdeb.org/ squeeze-php54/all i386 Packages 5.3.25-1~dotdeb.0 0 500 http://packages.dotdeb.org/ squeeze/all i386 Packages 5.3.3-7+squeeze15 0 500 http://ftp.de.debian.org/debian-security/ squeeze/updates/main i386 Packages 5.3.3-7+squeeze14 0 500 http://ftp.de.debian.org/debian/ squeeze/main i386 Packages 5.3.3-7+squeeze1 0 100 /var/lib/dpkg/statusHi.
I have a question about iconv. There are two bugs making iconv unusable: PHP: https://bugs.php.net/bug.php?id=63450&edit=1 glibc: http://sourceware.org/bugzilla/show_bug.cgi?id=13541 As far as i know, they can be eliminated, when iconv is compiled with libiconv.
Do You have any plans to use libiconv instead of glibc in iconv, or at least to compile php without compiled in iconv (iconv as external extension) to make us able to replace iconv with self compiled version (using libiconv) without recompile whole php?
Regards Daniel
My /etc/source.list
deb http://ftp.us.debian.org/debian squeeze main contrib non-free deb-src http://ftp.us.debian.org/debian squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main
deb http://ftp.us.debian.org/debian squeeze-updates main contrib non-free deb-src http://ftp.us.debian.org/debian squeeze-updates main contrib non-free
deb http://packages.dotdeb.org squeeze all deb-src http://packages.dotdeb.org squeeze all
deb http://packages.dotdeb.org squeeze-php54 all deb-src http://packages.dotdeb.org squeeze-php54 all
apt-get udpate server:~# apt-get upgrade Reading package lists… Done Building dependency tree
Reading state information… Done The following packages have been kept back: libapache2-mod-php5 php5 php5-cli php5-common php5-curl php5-gd php5-geoip php5-imagick php5-mcrypt php5-mysql php5-pspell php5-snmp php5-sqlite php5-xcache php5-xmlrpc php5-xsl 0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
For some reason it doesn’t want to upgrade. Can you please help again?
Thanks
My current php version:
PHP 5.3.25-1~dotdeb.0 with Suhosin-Patch (cli) (built: May 12 2013 06:21:00) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies with XCache v3.0.1, Copyright (c) 2005-2013, by mOo with the ionCube PHP Loader v4.4.0, Copyright (c) 2002-2013, by ionCube Ltd. with Suhosin v0.9.33, Copyright (c) 2007-2012, by SektionEins GmbH with XCache Cacher v3.0.1, Copyright (c) 2005-2013, by mOo
@Alex : ok, but what do you want to do? Upgrade to PHP 5.4? If so, be sure to remove php5-suhosin before any further move, this package doesn’t exist for PHP 5.4. And use a APT frontend such as aptitude or dselect to know which dependency prevents you from upgrading your box.
/2012/08/24/how-to-post-useful-bug-reports/
Thanks for your work, Guillaume!
Can we get php5-pinba back on Wheezy as well? This one is missing comparing to Squeeze branch…
Thanks for the quick reply! I tried pinning apt to dotdeb oldstable for PHP5, but received dependencies errors:
The following packages have unmet dependencies: php5 : Depends: libapache2-mod-php5 (>= 5.3.25-1
dotdeb.0) but it is not going to be installed or libapache2-mod-php5filter (>= 5.3.25-1dotdeb.0) but it is not going to be installed or php5-cgi (>= 5.3.25-1dotdeb.0) but it is not going to be installed or php5-fpm (>= 5.3.25-1dotdeb.0) but it is not going to be installedPHP5.3 from Squeeze doesn’t show any dependencies issues, but it misses php5-fpm.
Following your advice, would this be the right approach? :
@Alex : use an APT frontend such as dselect or aptitude to know which dependencies prevent to stick to 5.3.25-1~dotdeb.0.
About building your packages, that’s right except that the source packages will be downloaded from http://packages.dotdeb.org/ oldstable (more recent).
@Guillaume, the missing dependencies are caused by Wheeze missing libdb4.8 and libssl0.9.8. If you previously upgraded Squeeze to Wheezy, then you’ll still have these (obsolete) packages installed, and in turn dotdeb’s oldstable PHP 5.3 would install. But on a fresh Wheezy install, those packages are missing and hence the missing dependencies errors:
The following packages have unmet dependencies: php5-fpm : Depends: libdb4.8 but it is not installable Depends: libssl0.9.8 (>= 0.9.8m-1) but it is not installable
Any ideas for a quick fix or is recompiling from source still my best option here? I guess I could even install those two missing packages from the Squeeze repo, but not sure if that’s considered a hack. ;)
@Alex : > But on a fresh Wheezy install, those packages are missing and hence the missing dependencies errors
That’s why I said to add Squeeze-related entries in the sources.list of your freshly-installed Wheezy boxes.
Or you can stick to Squeeze, its security support will last at least a year.
I have problem when install php5-apc, but “php5-fpm”, “php5-curl”, “php5-gd”, “php5-mcrypt”, “php5-mysql”, “php5-sqlite” installed OK The following packages have unmet dependencies: php5-apc : Depends: phpapi-20100525 Depends: php5-common (= 5.4.18-1
dotdeb.1) but 5.5.1-1dotdeb.1 is to be installed E: Unable to correct problems, you have held broken packages.my source.list deb http://mirror.yandex.ru/debian/ wheezy main deb-src http://mirror.yandex.ru/debian/ wheezy main deb http://security.debian.org/ wheezy/updates main deb-src http://security.debian.org/ wheezy/updates main
wheezy-updates, previously known as ‘volatile’
deb http://mirror.yandex.ru/debian/ wheezy-updates main deb-src http://mirror.yandex.ru/debian/ wheezy-updates main
and my php-fpm.list in /etc/apt/sources.list.d deb http://packages.dotdeb.org wheezy all deb-src http://packages.dotdeb.org wheezy all deb http://packages.dotdeb.org wheezy-php55 all deb-src http://packages.dotdeb.org wheezy-php55 all
In old version Debian 6 all working very good
The deb http://packages.dotdeb.org squeeze all saved my night Thanks @Guillaume
Cheers, Max