On november 22nd 2012, the PHP group has released PHP 5.4.9 and PHP 5.3.19, that bring ~15 bug fixes. The corresponding packages are now available on Dotdeb for Debian 6.0 “Squeeze” on both amd64 and i386 architectures.
Please also note that Xcache (packaged as php5-xcache) has been upgraded to its 3.0.0 version.
As usual, please read the ChangeLog before upgrading and be sure to use to the latest packages before reporting any issue.
39 replies on “PHP 5.4.9 and PHP 5.3.19”
Something happed after the update, all sites started to low super slowly, even simple
script load in 10 seconds… Does anyone have similar issues??
Good work, thanks guys!
What about 5.4.9 with xcache? Stable enough for production?
It was version issue for sure. Rolled back to older version and problems were gone.
I guess I’ll skip this upgrade untill the next. Perhaps something in my setup didn’t get along with
the newest version
Because I prefere APC above xCache, the update is not that interesting to me.
One interesting aspect is that PCRE is updated to 8.3.1, but it’s not the world 😉
Nevertheless, good work, guys! /updated.
I’m seeing :
“/usr/lib/php5/20090626/xcache.so doesn’t appear to be a valid Zend extension”
on Debian Squeeze when using php5-xcache ( 5.3.19-1~dotdeb.0 ).
Is this perhaps why the above commenter reported his sites being slow?
Ah, /etc/php5/conf.d/xcache.ini needed changing to be ‘extension = xcache.so’ rather than ‘zend_extension = ….’.
@David Goodwin : yes, it’s listed as a change in http://xcache.lighttpd.net/wiki/Release-3.0.0
I’ll fix it in the next packages. Thanks for the feedback.
Hi there. Is it possible to please compile these PHP packages with PostgreSQL support?
Ta 🙂
@Daniel: what about installing php5-pgsql?
Xcache 3.0 stable version is incompatible with ioncube loader (php 5.3, Debian x64).
It’s fixed in trunk @ 1163 (prooflink: https://groups.google.com/d/msg/xcache/UZFaC4iQSmc/_-mqTFw4scIJ). It would be great to have the latest dev-version of Xcache in Dotdeb repository.
I’m having the same issue as you, catastrophic performance on my sites hosted on the server with PHP 5.4.9. The WordPress one takes several seconds to being rendering pages, the self-made one takes 16 seconds to finish rendering pages… I’ll have to downgrade too… So much for getting to bed “early” :/
@Geo , @David : do you use Xcache?
I don’t think so. Well, I don’t have package php5-xcache installed, at least:
dpkg -s php5-xcache
Package `php5-xcache’ is not installed and no info is available.
NB: like Geo, all solved by downgrading. More specifically, when I downgraded package libapache2-mod-php5filter (not sure if that means the problem is there, it’s also the last package of the upgrade batch that I downgraded)
@Guillaume Plessis I didn’t have xCache installed.
great job thanx for you package
Updated without any problems.
Thank you again!
Thanks, update))
Btw, any news on this? Not that I really need to upgrade to 5.4.9, but if noone knows where this comes from, I’m afraid it might do it again in 5.4.10 and so on…
Hi,
I was just wondering why your php5-memcached / php5-memcache packages (and php5-suhosin, for that matter, even though I know it’s deprecated) aren’t showing in your archive.dotdeb.org for previous releases?
http://archives.dotdeb.org/dists/squeeze/php5/5.3.18/binary-i386/
I have version 5.3.19 of these from your repository, but I need to downgrade.
Can the old versions of those other packages be added to the archive?
Thanks!
Cancel that, I see they are over in here:
http://archives.dotdeb.org/dists/squeeze/php5-pecl/5.3.18/php5-pecl/binary-i386/
thanks!
Hello. Any plans to upgrade php5-gearman (and gearman itself) to more recent version? Version 0.13 present in squeeze is way too old.
Hi. I can’t install php5-apc.
~# apt-get install php5-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:
php5-apc : Depends: php5-common (= 5.3.19-1~dotdeb.0) but 5.3.8-2 is to be installed
E: Broken packages
@Michael Lednev : I have no plan for gearman, sorry. The problem with php5-gearman is that new versions need updated gearman libraries.
Hey, how can I use PHP5.3 and PHP5.4 parallel?
@Macro : not on the same Debian install, sorry. Maybe you can try to build a chroot or a container.
On my side I’m having problems with utf8 encoding the php 5.4 (and PDO): defining the charset=utf8 in the DSN doesn’t work, as well as the PDO::MYSQL_ATTR_INIT_COMMAND.only an exec(‘SET NAMES utf8’); will work. Any idea? (I’m using mysqlnd)
@Kissifrot : does your system support such a locale and shouldn’t your PHP script use the appropriate LC_* environment variables?
Thanks 🙂
nginx + php5-fpm how to run *. pl
perl
@lyp : no need for php5-fpm to execute perl scripts. You may want to use the HTTP Perl module, that is included in the nginx-extras package.
Hello. Do you planning to make packages for PHP 5.4.10 and PHP 5.3.20?
http://php.net/archive/2012.php#id2012-12-20-1
haha, found the problem: when specifying the charset in the DSN, I typed charset=utf-8 instead of charset=utf8 (as writen in my previous comment), so it works 🙂
i had the same issue here, latest update, didnt update my xcache.ini file, had to manually change extension = to zend_extension = for this to work
Hi,
Where can i get the php5-ldap for php 5.3.19 the latest in the repo is for php 5.3.22 but i need for php 5.3.19
@Sameer : http://archives.dotdeb.org/
Thanks @Guillaume
Found it