PHP 5.3.2 and PHP 5.2.13 get an update

April 21st, 2010 | by Guillaume Plessis |

New packages of PHP 5.3.1 and PHP 5.2.13 has been uploaded to fix some annoying bugs :

In addition, PHP 5.3.2 now restarts softly, without any problem (thanks to Daniel Hahler).

Tags: , ,

  1. 64 Responses to “PHP 5.3.2 and PHP 5.2.13 get an update”

  2. By Sorin on Apr 21, 2010 | Reply

    Thanks :)
    I’m using dotdeb repositories for a Froxlor Control Panel install ;)
    Seems that PHP 5.3.2 is running smoothly so far.

  3. By Dave Carlson on Apr 22, 2010 | Reply

    Updated, thanks!

    Have you ever considered doing packages for apache as well ?
    Still stuck on 2.2.9 on my lenny install (yes I know I could compile but bleh, dotdeb packages FTW!)

  4. By Hans van Eijsden on Apr 23, 2010 | Reply

    Apache packages? I would like to have them as well! I’m also a Lenny-user and would like to have a new version without the need for compiling. Because Dotdeb rocks… ;-)

  5. By Steve Davies on Apr 28, 2010 | Reply

    Hi,

    I’m new to Linux and have a Ubuntu server. I’ve added the links to my repositories but can anyone tell me how to install PHP 5.3.2?

    I’ve used tasksel but it doesn’t appear in any of the lists?

  6. By pross on May 2, 2010 | Reply

    apt-get update; apt-get dist-upgrade

  7. By Steve Davies on May 5, 2010 | Reply

    Thanks, but how for example would I install PHP 5.3.2?

  8. By Guillaume Plessis on May 5, 2010 | Reply

    @Steve Davies : I’ve just published some more information on how to install PHP 5.3 on this page :

    http://www.dotdeb.org/instructions/

  9. By Steve Davies on May 5, 2010 | Reply

    Sorry, could you do the same for MySQL?

    Basically, I want a LAMP server with the latest versions on.

  10. By Boris on May 5, 2010 | Reply

    Just a request for :
    php5-memcache (and php5-memcached maybe)
    php5-apc

    Other (I don’t use really but could be good):
    php5-pspell
    The following packages have unmet dependencies.
    php5-apc: Depends: php5-common (= 5.2.13-0.dotdeb.1) but 5.3.2-1 is to be installed
    E: Broken packages

    using :
    php53.dotdeb.org

  11. By Steve Davies on May 5, 2010 | Reply

    What do you mean by make a request?

    (I know this isn’t a forum so apologies)

    Basically, I was looking for a guide or a 1,2,3 of how to install a LAMP setup using specific versions of MySQL and PHP when I found this site.

  12. By Boris on May 5, 2010 | Reply

    This is just that PHP Debian Package are not build on DotDeb repository, so I can’t install this “properly”.

    But I’m a weird case, having Debian “official” sources.list in SID and dotdeb for PHP 5.3.

    I know this is huge work to maintain dotdeb, it’s just to ask them.

    Sorry, my English isn’t really good, maybe it’s just a missunderstanding.

  13. By Guillaume Plessis on May 5, 2010 | Reply

    First, add the appropriate lines in your /etc/apt/sources.list

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

    Then, use a decent package manager (such as aptitude, dselect or synaptic) to install all the packages you want (mysql-server-5.1, php5, php5-apc, php5-memcache…). Dependencies will automatically be satisfied by using the most recent packages (Dotdeb’s ones if you’re on Debian stable, aka “Lenny”).

  14. By Lyon on May 5, 2010 | Reply

    bei Sushion gibt es sicherheitslücken! Siehe http://www.heise.de/security/meldung/Querelen-um-PHP-Suhosin-Patch-942667.html

    für phpmyadmin gibt es genauso Probleme!

  15. By Guillaume Plessis on May 5, 2010 | Reply

    @Lyon : 64bits issue has been fixed by Stefan Esser and Dotdeb still includes the Suhosin patch. No plan for removing it.

  16. By Jockl on May 9, 2010 | Reply

    Hi,

    I don’t know if this is the right place for the following question. I am about to upgrade from etch to Lenny (I now, I’m late :-/) but want to use PHP 5.2 again with Lenny. Am I right, that using

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

    in the source.list will prevent that PHP will be upgraded to 5.3 as well?
    I guess, using

    deb http://php53.dotdeb.org stable all
    deb-src http://php53.dotdeb.org stable all

    (as seen at: http://www.dotdeb.org/instructions/ )would upgrade to PHP5.3 as well?

    Thank you in advance!

  17. By Guillaume Plessis on May 10, 2010 | Reply

    You’re right. PHP 5.3 is on a separate repository to avoid the direct upgrade. Using only the main repository will keep PHP 5.2.

  18. By Boris on May 11, 2010 | Reply

    filter_var with URL seem to be still bogus in 5.3.2 for bug #51632

  19. By Guillaume Plessis on May 12, 2010 | Reply

    @Boris : this bug is a duplicate of #51192, that has been fixed in the last Dotdeb packages.

  20. By Mostafa on May 14, 2010 | Reply

    Hello,

    Please also provide these packages :
    apache2
    lighttpd
    nginx

    Thank you for your great work

  21. By Guillaume Plessis on May 14, 2010 | Reply

    @Mostafa : Sorry but I don’t have enough time to maintain well all these packages. About Nginx, backports.org provides up-to-date packages for Lenny.

  22. By Kevin Ken on May 15, 2010 | Reply

    https://bugzilla.redhat.com/show_bug.cgi?id=580236
    The build has the same problem..

  23. By Kevin Ken on May 15, 2010 | Reply

    seems there’s a fix for the crash.
    http://bugs.php.net/51624

  24. By SplitIce on May 16, 2010 | Reply

    Damn your php lack this patch: http://tekrat.com/downloads/bits/apc_lazy_php53.patch any chance of getting it included (no performance lost w/out APC +20% gain with)

    Patch Details: http://tekrat.com/2009/03/10/apc-lazy-loading-initial-support/

    Feel free to contact me via the email attached to this comment.

  25. By Guillaume Plessis on May 16, 2010 | Reply

    @SplitIce : thanks for this link/patch. I’ll take a look at it to evaluate its maintainability. I also have to preserve existing installation’s integrity and performance.

    If I include it, I’ll announce it.

  26. By SplitIce on May 16, 2010 | Reply

    Ok thanks mate, hopefully you save me having to compile my own when you do such a great job already.

    On my centos ‘crappy lappy’ (400mhz processor makes it ideal for performance testing)

    I tested the patch without APC (lol 32mb ram makes it impossible) and didn’t notice any real performance difference between that and a non-patched compiled version.

    If you need any assistance let me know.

  27. By Jonathan on May 17, 2010 | Reply

    Hi Guys,

    When I try to update the packages I get the following error:

    Err http://php53.dotdeb.org stable/all php5-common 5.3.2-0.dotdeb.1
    404 Not Found

    Is it a file server currently down or something else ?

    Thanks for the great work !

  28. By Guillaume Plessis on May 17, 2010 | Reply

    @Jonathan : please run “apt-get update” to refresh the packages list.

  29. By Niels on May 26, 2010 | Reply

    I have an big Problem my Debian says when i try to update from 5.2 to 5.3

    :
    root@vs184036:~# apt-get upgrade
    Reading package lists… Done
    Building dependency tree… Done
    The following packages have been kept back:
    libapache2-mod-php5 php5-cli php5-common php5-curl php5-gd php5-imap
    php5-mysql php5-xsl
    0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
    ———

    Can Anyone help me MY Email is Rode_N@gmx.de

  30. By Guillaume Plessis on May 26, 2010 | Reply

    @Niels : please use a decent package manager, such as dselect, aptitude or synaptic. They will be more verbose on the dependency that prevents the installation of PHP 5.3.

  31. By Niels on May 26, 2010 | Reply

    So i have now used dselect the first time and was suprised how nice it was but still I have a big Problem with the keystrokes

    here an screenshot
    http://a.imagehost.org/0307/Unbenannt_1.jpg

    what i must push to select them to update ?
    I have already tryed + , Inster
    but nothing happens.

    Hopping for help :) And sry i am new to this ^^

  32. By Guillaume Plessis on May 26, 2010 | Reply

    @Niels : great, the screenshot shows that the packages will be updated. Press “enter” to validate your changes. If a dependency problem occur, dselect will let you know in a conflict resolution screen.

  33. By Niels on May 26, 2010 | Reply

    I got the Same answer as with apt-get

    0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.

    Here how i go:

    -dselect
    –update
    –Select
    –Shift Q
    – Install

    0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.

    PHP is srtill 5.2 what is the Problem of my funny System ? Want it to kidding me ore make a Joke? :)

    MFG
    Slein

  34. By Niels on May 26, 2010 | Reply

    Is ther a way we can chat in ICQ ore something similair ? My Spoken English is quit bedder :)

  35. By Guillaume Plessis on May 26, 2010 | Reply

    @Niels : I sent you an email.

  36. By Limo on May 28, 2010 | Reply

    Thank you for the time and effort required for maintaining the repository.

  37. By Niels on May 28, 2010 | Reply

    Thanks for helping me man :)
    I got your Tip and Kicket PLESK out now I am an Only Putty ssh Consol user :)
    Dose that make me to a nerd ? xD
    I Hope so ^^

    Thanks mutch for your ervord.

    And Forgive me my English :)

    MFG
    and keep up
    Niels Rode
    from Germany

  38. By Guillaume Plessis on May 29, 2010 | Reply

    @Limo : thank you for the donation.

    @Niels : Yep, you just reached the next level :)

  39. By Gingko on Jun 5, 2010 | Reply

    There seems to be a problem with PHP 5.3.2 : cookies are not working properly in some cases, for example when running PhpBB 3.0.5 (and probably other versions also).
    The reason seems to be that the $_COOKIE super global variable is not always populated with received cookies, and the most visible effect is that the users of my phpBB forum are not able to use the “automatic logon” feature of phpBB.
    However, a simple test case with the setcookie function works properly, so I don’t know exactly what kind of cookie can trigger the bug.
    Downgrading to phpBB 5.2.13 or lower effectively fix the problem.

    Gingko (France)

  40. By Guillaume Plessis on Jun 7, 2010 | Reply

    @Gingko : I didn’t find any bugreport on http://bugs.php.net/ matching your problem. Could you please give me a link to an official bugreport or report one on http://bugs.php.net/ ?

  41. By Gingko on Jun 7, 2010 | Reply

    Just added.
    See http://bugs.php.net/bug.php?id=52018

    Gingko

  42. By Guillaume Plessis on Jun 7, 2010 | Reply

    @Gingko : Great, thank you. I’ll follow this bug and build new packages as soon as the bug has been officially fixed.

  43. By geronimoh on Jun 8, 2010 | Reply

    first of all:
    Merci beaucoup pour ce terrible travail de garder à jour php et mysql, vraiment, vous êtes génial!! :D
    ( just saying thank you very much ).

    However i’ve got a failing apache with the dotdeb php 5.2.13.1 packages, apache crashes with these notice in my logs :
    [notice] child pid exit signal Segmentation fault (11)
    i saw there were similar problems with the 5.2.10 packages, but i havent seen any solutions yet…
    please help!!, any hints would be very helpfull

    using:
    apache2-mpm-prefork 2.9-10+lenny7
    apache2-utils 2.2.9-10+lenny7
    apache2.2-common 2.2.9-10+lenny7
    libapache2-mod-php5 5.2.13-0.dotdeb.1

  44. By Guillaume Plessis on Jun 8, 2010 | Reply

    @geronimoh : the best way to fix this is to find a way to reproduce the bug. By enabling more logging options in Apache or in PHP, you may isolate the involved piece of code.
    Then, you could send me (gui_at_php_dot_net) a trace from “strace -f apache2 -X”

  45. By geronimoh on Jun 9, 2010 | Reply

    @Guillaume : Thank you! i’ve narrowed down the problem to one module, and guess what… it’s zend optimizer… grrr.. when i’ve found a compatible binary i’ll post the version here, so others won’t have the same problem.
    just for info it’s a 32bits lenny

  46. By Guillaume Plessis on Jun 9, 2010 | Reply

    @geronimoh : be sure to enable just one opcode-related extension (zend_optimizer, apc, xdebug, xhprof…) at a time.
    Why not using APC instead of zend_optimizer?

  47. By geronimoh on Jun 9, 2010 | Reply

    @Guillaume : Thanks,
    Someone else is also developing on our server and obfuscated with zend.. (i know there are plenty dezenders out there, but they want it that way.. so i get to debug the server… :-( )

  48. By Joshua Parker on Jun 16, 2010 | Reply

    I upgraded my server to php 5.2.4 but then it started having problems, so I upgraded to 5.2.13, restarted the server and things were faster again. But then things slowed down again. I was wondering if you could help me figure out the issue. My site is at http://mulyoo.com/.

    I am using ubuntu 8.0.4 with 64bit.

  49. By Guillaume Plessis on Jun 16, 2010 | Reply

    @Joshua Parker : consider those tips :
    - watch your logfiles. If there’s none, set up PHP, Apache, MySQL to be as verbose as needed. Watch MySQL slow queries, queries without indexes, Apache response time, PHP warning and errors
    - monitor your platform with things (load average, memory, disks, latencies, mysql queries…)
    - profile your code with tools such as Xdebug
    - install an opcode cache such as php5-apc.

  50. By Nixx on Jun 16, 2010 | Reply

    Hello,

    I added dotdeb on my sources list and tried to update php from 5.2.0+dfsg-8+etch16 to 5.2.13-0.dotdeb.1 (for symfony requires Ver>5.2.1), but I keep getting dependency issues like this:

    libapache2-mod-php5: Depends: libc6 (>= 2.7-1) but 2.3.6.ds1-13etch10+b1 is to be installed
    Depends: libdb4.6 but it is not installable
    Depends: libkrb53 (>= 1.6.dfsg.2) but 1.4.4-7etch6 is to be installed
    Depends: libssl0.9.8 (>= 0.9.8f-5) but 0.9.8c-4etch4 is to be installed
    Depends: libxml2 (>= 2.6.28) but 2.6.27.dfsg-6 is to be installed
    Depends: php5-common (= 5.2.13-0.dotdeb.1) but 5.2.0+dfsg-8+etch16 is to be installed.

    Am I missing something ? should I further update my sources.list ? Currently it looks like this:

    deb http://ftp.de.debian.org/debian etch main contrib non-free
    deb http://ftp.de.debian.org/debian-volatile etch/volatile main contrib non-free
    deb http://ftp.de.debian.org/debian-security etch/updates main contrib non-free
    deb http://autoinstall.plesk.com/debian/PSA9 etch all
    deb http://packages.dotdeb.org stable all

    ## This is temporary appended by Autoinstaller for
    ## specify source of product’s packages for APT.
    deb http://autoinstall.plesk.com/debian/PSA_9.5.2 etch all

    (running etch 4 with plesk 9 installed)

    Thank you for helping the newbie that I am !
    Should it not be the right place to post, feel free to redirect me :)

    Nixx

  51. By Guillaume Plessis on Jun 16, 2010 | Reply

    @Nixx : the problem is that you’re using Etch on your server. Dotdeb only supports the stable version of Debian (aka Lenny).
    Since the security support has been ended for Etch, I advise you to upgrade your serveur to Lenny. Then you should be able to use Dotdeb without any dependency issue.

    If you can not upgrade to Lenny, take a look at http://archives.dotdeb.org/ and grab and install the needed Etch packages manually.

  52. By Nedko Iliev on Jun 30, 2010 | Reply

    Hello, from couple days I’m trying to compile php 5.3.2-1 for debian unstable with fpm, but I experience some problems. I would like to see(and use :) ) your “debian/rules” file if it is possible.
    P.S. your job is great ;)

  53. By Guillaume Plessis on Jun 30, 2010 | Reply

    @Nedko Iliev : you can fetch the source package from http://php53.dotdeb.org/dists/lenny/php5/source/

  54. By Mikhail on Jul 13, 2010 | Reply

    Can you add php-dbase into your repository?

  55. By Nixx on Jul 14, 2010 | Reply

    Hello Guillaume.

    Sorry for the late reply…

    I had to download and install packages manually (this is for a rented virtual server => upgrade to lenny is not an option), but it did the job.

    Thanks a lot for the awesome work on the packages, and for following up on issues !

    All the best…

    Nixx

  56. By Kissifrot on Jul 15, 2010 | Reply

    It seems I’m having the same problem as geronimoh (segfaults), but with the PHP 5.3.2 version.

    However Zend optimizer doesn’t seem to be activated.

    Any hint on how to track the source of the problem?

  57. By Guillaume Plessis on Jul 16, 2010 | Reply

    @Kissifrot : as said for geronimoh, the best way to fix this is to find a way to reproduce the bug. By enabling more logging options in Apache or in PHP, you may isolate the involved piece of code.
    Then, you could send me (gui_at_php_dot_net) a trace from “strace -f apache2 -X”

  58. By Guillaume Plessis on Jul 19, 2010 | Reply

    @Mikhail : please try to fetch pecl-dbase from SVN : http://svn.php.net/repository/pecl/dbase/trunk/

    Then, use dh-make-pecl to build your own package : http://www.dotdeb.org/2008/09/25/how-to-package-php-extensions-by-yourself/

  59. By Gary on Jul 22, 2010 | Reply

    Hi this is probably a stupid question I’m new to linux. Last night installed php using this site. I’ve deleted the serve and cant figure out how i got the php5 on.
    I’ve updated the sources list, I remember using a command like: apt get install something something. But cant find the post which i got it from :S
    Thanks

  60. By Laurent on Jul 22, 2010 | Reply

    Php 5.3.3 has been released !!

  61. By Guillaume Plessis on Jul 22, 2010 | Reply

    @Laurent : I know, I know, but the corresponding suhosin patch has not been released :)

  62. By Laurent on Jul 24, 2010 | Reply

    Yes it is !!
    Not that I am putting any pressure :)

    Merci pour ton super boulot.

  63. By Guillaume Plessis on Jul 24, 2010 | Reply

    Yep, I’m working on it. I may release them on sunday.

  64. By Laurent on Jul 24, 2010 | Reply

    You’re the man…

  1. 1 Trackback(s)

  2. May 3, 2010: MAJ : Bug LibGD de PHP 5.3.2 sur Debian 5 (32bits) – DotetDeb.2 | EXinsidePHP

Post a Comment