New packages of PHP 5.3.1 and PHP 5.2.13 has been uploaded to fix some annoying bugs :
- filter_var now validates correctly the hostnames that include ‘-‘ (bug #51192)
- the GD bundled library has been patched to fix some TrueType issues (bug #51207, …)
In addition, PHP 5.3.2 now restarts softly, without any problem (thanks to Daniel Hahler).
68 replies on “PHP 5.3.2 and PHP 5.2.13 get an update”
Thanks 🙂
I’m using dotdeb repositories for a Froxlor Control Panel install 😉
Seems that PHP 5.3.2 is running smoothly so far.
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!)
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… 😉
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?
apt-get update; apt-get dist-upgrade
[…] a mis à jour son dépôt de PHP 5.3.2 et le fameux bug de la librairie GD est toujours présent, comme je l’expliquais dans un […]
Thanks, but how for example would I install PHP 5.3.2?
@Steve Davies : I’ve just published some more information on how to install PHP 5.3 on this page :
http://localhost:8080/instructions/
Sorry, could you do the same for MySQL?
Basically, I want a LAMP server with the latest versions on.
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
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.
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.
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”).
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!
@Lyon : 64bits issue has been fixed by Stefan Esser and Dotdeb still includes the Suhosin patch. No plan for removing it.
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://localhost:8080/instructions/ )would upgrade to PHP5.3 as well?
Thank you in advance!
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.
filter_var with URL seem to be still bogus in 5.3.2 for bug #51632
@Boris : this bug is a duplicate of #51192, that has been fixed in the last Dotdeb packages.
Hello,
Please also provide these packages :
apache2
lighttpd
nginx
Thank you for your great work
@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.
https://bugzilla.redhat.com/show_bug.cgi?id=580236
The build has the same problem..
seems there’s a fix for the crash.
http://bugs.php.net/51624
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.
@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.
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.
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 !
@Jonathan : please run “apt-get update” to refresh the packages list.
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 [email protected]
@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.
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 ^^
@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.
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
Is ther a way we can chat in ICQ ore something similair ? My Spoken English is quit bedder 🙂
@Niels : I sent you an email.
Thank you for the time and effort required for maintaining the repository.
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
@Limo : thank you for the donation.
@Niels : Yep, you just reached the next level 🙂
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)
@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/ ?
Just added.
See http://bugs.php.net/bug.php?id=52018
Gingko
@Gingko : Great, thank you. I’ll follow this bug and build new packages as soon as the bug has been officially fixed.
first of all:
Merci beaucoup pour ce terrible travail de garder à jour php et mysql, vraiment, vous êtes génial!! 😀
( 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
@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”
@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
@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?
@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… 🙁 )
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.
@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.
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
@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.
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 😉
@Nedko Iliev : you can fetch the source package from http://php53.dotdeb.org/dists/lenny/php5/source/
Can you add php-dbase into your repository?
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
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?
@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”
@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://localhost:8080/2008/09/25/how-to-package-php-extensions-by-yourself/
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
Php 5.3.3 has been released !!
@Laurent : I know, I know, but the corresponding suhosin patch has not been released 🙂
Yes it is !!
Not that I am putting any pressure 🙂
Merci pour ton super boulot.
Yep, I’m working on it. I may release them on sunday.
You’re the man…
I can’t get any package from dotdeb repository. apt-get update returns this log :
W: Failed to fetch http://php53.dotdeb.org/dists/stable/Release Unable to find expected entry all/binary-armel/Packages in Meta-index file (malformed Release file?)
How can it be ?
I got the answer. I have an ARM architecture
OK, i have the ARM architecture to, but what is the reason that php5-fpm do not work?
@Dieter : your ARM packages don’t come from Dotdeb, but the FPM and APC problems may occur too. There’s open bugs about them :
I’m watching them to publish new packages as soon as a fix is available