[php-maint] Bug in PHP Version 5.2.0-8+etch9 (mod_php)

Robert Simon rsi-news at netclusive.de
Fri Jan 11 09:27:46 UTC 2008


Package: php5
Version: 5.2.0-8+etch9

After upgrading to latest package version from debian security mirror, 
the param ini_set/set_include_path is no longer available if php is used 
as a apache2 module.
Testscript:

<?php                                                                                                                               

error_reporting(99999);
echo 
'<pre>';                                                                                                                       

echo 
set_include_path('.:/usr/share/php:/usr/share/pear/:/testing');                                                                

echo 
get_include_path();                                                                                                            

phpinfo();                                                                                                                          

?>  

will result false output.
With php5-cgi (same version) it worked fine.

I am using Debian Etch 4.0 (Linux d5-1024 2.6.18-4-amd64 #1 SMP Thu May 
10 01:01:58 UTC 2007 x86_64 GNU/Linux), libc6 2.3.6.ds1-13etch4 and 
apache 2.2.3-4+etch3 with libapache2-mod-php5/etch 5.2.0-8+etch9 installed.

Regards, Robert







More information about the pkg-php-maint mailing list