[php-maint] Bug#464741: php5: dl() function is broken in 5.2.5, causing ionloader need to be reconfigured

Jon Daley debian at jon.limedaley.com
Fri Feb 8 18:39:59 UTC 2008

Package: php5
Version: 5.2.5-2
Severity: important
Tags: patch

It isn't a debian bug, but a known feature of 5.2.5 that mostly disables the dl() function from 
working properly.  Prior to 5.2.5, the dl() function could load user modules at run-time, rather than 
installing them site-wide in the php.ini.

I don't know how widespread the use of ioncube loader (or other dl() libs) so perhaps it doesn't 
matter, but I hadn't expected 5.2.5 to be an interesting release.

The fix is to copy the loader file to a known location, and then add this line to your 

zend_extension = /usr/local/lib/php5/ioncube_loader_lin_5.2.so

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages php5 depends on:
ii  php5-cgi                      5.2.4-2+b1 server-side, HTML-embedded scripti
ii  php5-common                   5.2.4-2+b1 Common files for packages built fr

php5 recommends no packages.

-- no debconf information

More information about the pkg-php-maint mailing list