Package: php5
Version: 5.2.3-1+b1
Severity: normal

If you use file_exists() and open_basedir(), you'll get a warning when the file 
doesn't exist.
Theses warnings are annoying and are breaking websites which are using 
header(). Also, if 
you're not aware of this issue, you end up looking for a non-existant 
misconfiguration.

A bug upstream has been filed for this issue and has been fixed. The patch 
works for me.

See:
http://bugs.php.net/bug.php?id=41518
http://cvs.php.net/viewvc.cgi/php-src/main/fopen_wrappers.c?r1=1.193&r2=1.194

Please consider applying the patch.

Thanks

Arnaud

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

Kernel: Linux 2.6.21.3-rsbac-1-lechat (PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

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

php5 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to