When installing php-5.0.5-r1 the include_path is set to ".:/usr/share/php:/usr/ share/php5". The right term would be ".:/usr/share/php5:/usr/share/php", because php needs to look in /usr/share/php5 first. Reproducible: Always Steps to Reproduce:
include_path = ".:/usr/share/php:/usr/share/php5" ; ; Windows: "\path1;\path2" include_path = ".:/usr/share/php:/usr/share/php5" Another fault is that the path is set twice.
Hmmm I don't really get the bug here? Setting it twice does not really cause breakage, though I'll fix that this evening. And for having it search before in php and then php5 or the contrary, I see no bug in this, since our new packages are separated and you can actually never have a duplicate, if you use correctly the new generation of packages, though I'll also fix this so it reads first php5, then php, it does seem logical, ok, but why exactly do you consider it a bug? Imho an enhancement. Best regards, CHTEKK.
Ok, fixed in the PHP Overlay [1]. It now defines include_path only one time and it defines it as .:/usr/share/phpX:/usr/share/php, where X is the PHP version (4 for 4.x, 5 for 5.x). Best regards, CHTEKK. [1] http://svn.gnqs.org/projects/gentoo-php-overlay/
Closing requested by Luca Longinotti.