Categories
PHP

PHP 5.4.11

On january 17th 2013, the PHP group has released PHP 5.4.11 :

These releases fix about 10 bugs. All users of PHP are encouraged to upgrade to PHP 5.4.

The corresponding packages are now available on Dotdeb for Debian 6.0 “Squeeze” on both amd64 and i386 architectures, with these changes :

  • APC has been upgraded to 3.1.14
  • Xcache has been upgraded to 3.0.1 (now compatible with Ioncube)
  • mysqlnd headers are now included in php5-dev to allow mysqlnd plugins to build

As usual, please read the ChangeLog before upgrading and be sure to use to the latest packages before reporting any issue.

Note 1 : PHP 5.3.21 packages will be available at the end of this week.
Note 2 : Including igbinary as serializer in PHP’s core and in the memcached and redis extensions is currently in progress.

37 replies on “PHP 5.4.11”

The script at “/usr/lib/php5/sessionclean” seems to be broken in this release. I’m getting emails from cron about lsof not being found (which was never installed on this system).

When trying to run the script manually, I get the following output:
/usr/lib/php5/sessionclean: 4: lsof: not found
find: warning: you have specified the -ignore_readdir_race option after a non-option argument -type, but options are not positional (-ignore_readdir_race affects tests specified before it as well as those specified after it). Please specify options before other arguments.

find: invalid argument `-delete’ to `-cmin’

This occurs on a Debian 6 server.

Guillame, is it enough to just include 5.4’s repo in sources and then upgrade (in order to upgrade from dotdeb’s 5.3)? I just double-checked all dependencies, and it pretty much should be alright, but I decided that it’s worth asking.

I’m getting Apache2 child seg faults too since installing the dotdeb PHP 5.4.11 package last night; APC 3.1.14, Libmemcached 1.0.13 and memcached 2.1.0

Disabling APC stops the seg faults.

Apologies – the libmemcached upgrade is a red herring, please ignore.

I have since found (and tested) the problem – in apc.ini I had ‘apc.stat=0’ (default is 1) – when I changed back to the default value of 1 the seg faults disappeared.

Guillaume, please tell me:
1. Which version of the extension PECL/memcache is in the package named “php5-memcache_5.4.11-1~dotdeb.0_i386.deb”?
2. Extension php5-xcache has a web interface located in the “/usr/share/xcache/htdocs/” directory – ok. And it seems that extension PECL/memcache should have something similar – a file named “memcache.php” here:
http://svn.php.net/viewvc/pecl/memcache/tags/RELEASE_2_2_6/
But I can’t find it after install php5-memcache. So, why is it missing? What’s wrong with my installation?
Thanks in advance.

I have problems installing php54 from dotdeb.

root@testnix:/etc/apt# cat /etc/apt/sources.list
deb http://ftp.informatik.rwth-aachen.de/ftp/pub/Linux/debian/ squeeze main
deb-src http://ftp.informatik.rwth-aachen.de/ftp/pub/Linux/debian/ squeeze main

deb http://ftp.de.debian.org/debian squeeze main
deb-src http://ftp.de.debian.org/debian squeeze main

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

# squeeze-updates, previously known as ‘volatile’
deb http://ftp.informatik.rwth-aachen.de/ftp/pub/Linux/debian/ squeeze-updates main
deb-src http://ftp.informatik.rwth-aachen.de/ftp/pub/Linux/debian/ squeeze-updates main

#dotdeb sources
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

After “aptitude update” I get following error:
Hole:25 http://packages.dotdeb.org squeeze-php54/all i386 Packages [9.650 B]
Es wurden 29,8 MB in 1 min 5 s geholt (456 kB/s)
Paketlisten werden gelesen… Fehler!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/packages.dotdeb.org_dists_squeeze_all_i18n_Translation-en
E: Die Paketliste oder die Statusdatei konnte nicht eingelesen oder geöffnet werden.

Any Ideas?? I am frustrated.

Hi Guillaume,

I forgot to mention in my first posting that i already tried that approach as well. No change at all…
I did it again…
Result:
Hole:25 http://packages.dotdeb.org squeeze-php54/all i386 Packages [9.650 B]
Es wurden 29,8 MB in 1 min 5 s geholt (457 kB/s)
Paketlisten werden gelesen… Fehler!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/packages.dotdeb.org_dists_squeeze_all_i18n_Translation-en
E: Die Paketliste oder die Statusdatei konnte nicht eingelesen oder geöffnet werden.

Ok, now after doing a
“apt-get –fix-missing update -o APT::Cache-Limit=100000000”
I get this error message:
Es wurden 29,8 MB in 1 min 5 s geholt (457 kB/s)
Paketlisten werden gelesen… Fehler!
W: GPG-Fehler: http://packages.dotdeb.org squeeze Release: Die folgenden Signaturen waren ungültig: BADSIG E9C74FEEA2098A6E Guillaume Plessis
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/packages.dotdeb.org_dists_squeeze_all_i18n_Translation-en
E: Die Paketliste oder die Statusdatei konnte nicht eingelesen oder geöffnet werden.

Comments are closed.