Posted by & filed under PHP.

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.

57 Responses to “PHP 5.4.15 & PHP 5.3.25 / for Wheezy & Squeeze”

  1. Rodrigo

    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

    Reply
    • Guillaume Plessis

      @Rodrigo : thanks for reporting this issue, I’ve just fixed it. All you have to do is apt-get update ; apt-get install --reinstall php5-memcached

      Reply
  2. Sergei Morozov

    Looks like something has been misconfigured. I’ve got my PHP 5.3 upgdaded to PHP 5.4.15. I have “http://php53.dotdeb.org stable all” as a source but there are PHP 5.4 packages there. Is there a way to fix that?

    Reply
    • Anthony Somerset

      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

      Reply
  3. Rodrigo

    @Guillaume Thanks. I think is not correct to report this in the comments i’ll use the github issue queue in the future

    Reply
  4. Sergei Morozov

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

    Reply
  5. Jens

    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-1~dotdeb.2) but 5.3.25-1~dotdeb.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-1~dotdeb.2) but 5.3.25-1~dotdeb.0 is installed and it is kept back.
    Conflicts: libapache2-mod-php5 but 5.3.25-1~dotdeb.0 is installed and it is kept back.
    The following actions will resolve these dependencies:

    Remove the following packages:
    1) php5-geoip
    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

    Reply
  6. 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

    Reply
  7. Jens

    O.K. Makes sense :-) here are the additional information:

    1. Debian 6.0.7 with Plesk 11.0.9 This server is protected with the Suhosin Patch 0.9.10
    2. amd64 on GenuineIntel, Intel(R)Core(TM) i7-2600 CPU @ 3.40GHz
    3. 5.3.25-1~dotdeb.0
    4. CGI/FastCGI
    5. # 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

    6. ii php-pear 5.3.24-1~dotdeb.0 PEAR – PHP Extension and Application Repository
    ii php5 5.3.25-1~dotdeb.0 server-side, HTML-embedded scripting language (metapackage)
    ii php5-cgi 5.3.25-1~dotdeb.0 server-side, HTML-embedded scripting language (CGI binary)
    ii php5-cli 5.3.25-1~dotdeb.0 command-line interpreter for the php5 scripting language
    ii php5-common 5.3.25-1~dotdeb.0 Common files for packages built from the php5 source
    ii php5-curl 5.3.25-1~dotdeb.0 CURL module for php5
    ii php5-dev 5.3.24-1~dotdeb.0 Files for PHP5 module development
    ii php5-gd 5.3.25-1~dotdeb.0 GD module for php5
    ii php5-imap 5.3.25-1~dotdeb.0 IMAP module for php5
    ii php5-ioncube-loader 4.0.14-12051415 PHP ionCube Loader
    ii php5-mysql 5.3.25-1~dotdeb.0 MySQL module for php5
    ii php5-sqlite 5.3.25-1~dotdeb.0 SQLite module for php5
    ii php5-suhosin 5.3.25-1~dotdeb.0 suhosin module for php5
    ii php5-xsl 5.3.25-1~dotdeb.0 XSL module for php5

    Hope these are all infos you need…

    Reply
    • Guillaume Plessis

      @Jens : I don’t understand why APT mentions PHP 5.4 while you’re using explicitly Squeeze in your sources.list and don’t use the squeeze-php54 repo. Could you please run apt-cache policy libapache2-mod-php5, please?

      Reply
  8. Jens

    Sure, here is the output:

    libapache2-mod-php5:
    Installed: 5.3.25-1~dotdeb.0
    Candidate: 5.4.15-1~dotdeb.2
    Version table:
    5.4.15-1~dotdeb.2 0
    500 http://packages.dotdeb.org/ stable/all amd64 Packages
    *** 5.3.25-1~dotdeb.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

    Thank you very much for your help!

    Reply
    • Guillaume Plessis

      @Jens : replace this line

      deb http://packages.dotdeb.org stable all

      by

      deb http://packages.dotdeb.org squeeze all

      Run apt-get/aptitude update and your dependency problem should be resolved.

      Reply
  9. Jens

    @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-1~dotdeb.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:

    Remove the following packages:
    1) libapache2-mod-php5
    2) php-pear
    3) php5
    4) php5-cgi
    5) php5-cli
    6) php5-curl
    7) php5-gd
    8) php5-imap
    9) php5-mysql
    10) php5-sqlite
    11) php5-suhosin
    12) php5-xsl
    13) plesk-core
    14) plesk-l10n
    15) pp-sitebuilder
    16) psa
    17) psa-backup-manager
    18) psa-firewall
    19) psa-horde
    20) psa-imp
    21) psa-ingo
    22) psa-kronolith
    23) psa-libxml-proxy
    24) psa-mimp
    25) psa-mnemo
    26) psa-passwd
    27) psa-php5-configurator
    28) psa-spamassassin
    29) psa-turba
    30) psa-updates
    31) psa-vhost

    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…

    Reply
  10. Jens

    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-1~dotdeb.2
    Version table:
    5.4.15-1~dotdeb.2 0
    500 http://packages.dotdeb.org/ stable/all amd64 Packages
    *** 5.3.25-1~dotdeb.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

    Reply
  11. Jens

    Sorry 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-1~dotdeb.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…

    Reply
  12. Jens

    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?

    Reply
  13. Jens

    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!

    Reply
  14. Dee

    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-1~dotdeb.1
    Version table:
    5.4.15-1~dotdeb.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.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 Packages

    root@NewSubversion:~# apt-cache policy php5-cgi
    php5-cgi:
    Installed: (none)
    Candidate: 5.4.15-1~dotdeb.1
    Version table:
    5.4.15-1~dotdeb.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://security.debian.org/ squeeze/updates/main i386 Packages
    5.3.3-7+squeeze14 0
    500 http://ftp.us.debian.org/debian/ squeeze/main i386 Packages

    As you can see, I run subversion as well. Could this be an issue? PLEASE HELP!!

    Reply
  15. Cronner

    “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? :)

    Reply
  16. Cronner

    No mather tried another script there was no error in uploading the file so probally a coding error.

    Reply
  17. Simon

    Hi Guillaume!
    Today I tried updating PHP 5.4.8 to 5.4.15 on Debian Squeeze (686), but when doing `aptitude install php5` I 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-1~dotdeb.1 is to be installed.
    Conflicts: libapache2-mod-php5 but 5.4.15-1~dotdeb.1 is to be installed.
    php5-xdebug: Depends: php5-common (= 5.4.8-1~dotdeb.0) but 5.4.15-1~dotdeb.1 is to be installed.
    php5-gd: Depends: php5-common (= 5.4.8-1~dotdeb.0) but 5.4.15-1~dotdeb.1 is to be installed.
    php5-mcrypt: Depends: php5-common (= 5.4.8-1~dotdeb.0) but 5.4.15-1~dotdeb.1 is to be installed.
    php5-mysql: Depends: php5-common (= 5.4.8-1~dotdeb.0) but 5.4.15-1~dotdeb.1 is to be installed.
    php5-cli: Depends: php5-common (= 5.4.8-1~dotdeb.0) but 5.4.15-1~dotdeb.1 is to be installed.
    libapache2-mod-php5: Conflicts: libapache2-mod-php5filter but 5.4.8-1~dotdeb.0 is installed and it is kept back.
    The following actions will resolve these dependencies:

    Remove the following packages:
    1) libapache2-mod-php5filter
    2) php-pear
    3) php5-cli
    4) php5-gd
    5) php5-mcrypt
    6) php5-mysql
    7) php5-xdebug
    8) phpmyadmin

    Leave the following dependencies unresolved:
    9) libapache2-mod-php5 recommends php5-cli
    10) phpmyadmin recommends php5-gd
    ——————————————————————
    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-1~dotdeb.0 command-line interpreter for the php5 scripting language
    ii php5-common 5.4.8-1~dotdeb.0 Common files for packages built from the php5 source
    ii php5-gd 5.4.8-1~dotdeb.0 GD module for php5
    ii php5-mcrypt 5.4.8-1~dotdeb.0 MCrypt module for php5
    ii php5-mysql 5.4.8-1~dotdeb.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 tool

    Reply
  18. Simon

    apt-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-1~dotdeb.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/status

    Reply
  19. Daniel Kukieła

    Hi.

    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

    Reply
  20. Alex

    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

    Reply
  21. Alex

    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

    Reply
  22. BaT

    Thanks for your work, Guillaume!

    Can we get php5-pinba back on Wheezy as well? This one is missing comparing to Squeeze branch…

    Reply
      • Guillaume Plessis

        @Pawel & @BaT : I have a local git branch with that support, but after two week-ends of work on it, I can’t figure why and how the Debian packaging macros are stripping some symbols from my binaries, leading to a non-working feature.

        Reply
  23. Alex

    @Guillaume: I am on Wheezy but we have an application that still requires PHP 5.3. I was wondering… is there a tutorial or some hints how I could recompile+package your PHP5.3 Squeeze release for Wheezy – the “Debian way”? Thanks so much for your help.

    Reply
    • Guillaume Plessis

      Alex : keeping/adding the Squeeze-related entries in your sources.list (to satisfy dependencies) and installing/freezing PHP 5.3 packages from Squeeze should work.
      If you want to build packages anyway, the combo would be apt-get build-dep php5 and dpkg-buildpackage.

      Reply
  24. Alex

    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-1~dotdeb.0) but it is not going to be installed or
    php5-cgi (>= 5.3.25-1~dotdeb.0) but it is not going to be installed or
    php5-fpm (>= 5.3.25-1~dotdeb.0) but it is not going to be installed

    PHP5.3 from Squeeze doesn’t show any dependencies issues, but it misses php5-fpm.

    Following your advice, would this be the right approach? :

    1. Add deb-src http://packages.dotdeb.org oldstable all to sources.list
    2. Pin PHP5 and libapache2-mod-php5 to oldstable
    3. do apt-get source php5 (it would fetch the sources from git://git.debian.org/pkg-php/php.git)
    4. do apt-get build-dep php5
    5. do dpkg-buildpackage -rfakeroot

    Reply
  25. Alex

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

    Reply
    • Guillaume Plessis

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

      Reply
  26. Alex

    Ahhh, indeed! Sorry, sometimes I am really slow. FWIW, I tried compiling PHP 5.3 Dotdeb on Wheezy, but dpkg-buildpackage ran into issues so I gave up.

    Reply
  27. Pavel

    Hi! Please get php5-pinba back to wheezy! Or write what can I do to help you with it :)

    Reply
  28. Pavel

    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-1~dotdeb.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

    Reply
    • Guillaume Plessis

      @Pavel : there’s no php5-apc for PHP 5.5, you have to uninstall it before upgrading. Don’t worry, opcache is now included in php5-common. And if you need a user cache, install php5-apcu.

      Reply
  29. Warren

    Hello, i just recently install Wheezy 7.0 but I need to run PHP5.3. Some of the applications presented problems in a server with 5.4. I’ve tried to follow a couple of links but have had no luck. I think is importatn to point out that i aso need php-memcache, php-xcache, php-suhosin and php-sybase.If you could help me out I’ll really appreciate it.
    Thanks

    Reply

Trackbacks/Pingbacks

  1.  memo-linux.com » Migration Debian Squeeze vers Wheezy

Leave a Reply

  • (will not be published)


one − 1 =