[php-maint] Bug#817769: Bug#817769: problem with include_path

Ivan Sergio Borgonovo ivan.s.b at gmail.com
Thu Mar 10 10:18:58 UTC 2016


Downgrading fix the problem.
Simply reinstalling new versions break stuff again.

Before downgrading I have
root at caronte:~/pkg# php5 -r 'echo(get_include_path());'
.::/usr/share/pear
after downgrading
root at caronte:~/pkg# php5 -r 'echo(get_include_path());'
.:/usr/share/php:/usr/share/pear

So the include_path as was clear from the log is wrong, but the main 
suspect still remain one of those packages.

I've been trying to guess which package among the suspects exactly 
defined a default include_path but grep and diff were not enough useful 
since the only possible interesting differences were in binary files.

php.ini files for modules seems to be generated in postinst but all the 
instance of include_path seems to be commented out in both versions in 
/etc/php5.

Considering that php5 in console still has the wrong path I would 
exclude from the list of suspects php5-fpm.

The remaining candidates are php5 , php5-common and php5-cli.

On 03/10/2016 12:51 AM, Ondřej Surý wrote:
> It seems that your include_path is wrong, as Horde resides in:
>
> /usr/share/php/Horde/Autoloader/Default.php
>
> Doesn't seem to be php5 fault as /usr/share/php is missing from your
> include_path and the default include_path is:
>
> include_path = ".:/usr/share/php"
>
> Cheers,
>

-- 
Ivan Sergio Borgonovo
http://www.webthatworks.it



More information about the pkg-php-maint mailing list