| Summary: | PHP 4.3.10 upgrade does not update the include path in php.ini | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Martin Diers <martin> |
| Component: | [OLD] Server | Assignee: | PHP Bugs <php-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | christian.hartmann, Mark, stephane.schitter, stkn |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Martin Diers
2005-03-25 10:23:45 UTC
the last change in php-sapi.eclass (multilib fix) broke PEAR installation, because
php itself appends "php" to whatever --libdir is set to:
with myconf="${myconf} --libdir=/usr/${libdir}/php" removed:
>>> Install php-4.3.10 into /var/tmp/portage/php-4.3.10/image/ category dev-php
Installing PHP CLI binary: /var/tmp/portage/php-4.3.10/image//usr/bin/
Installing PHP CLI man page: /var/tmp/portage/php-4.3.10/image//usr/share/man/man1/
Installing PEAR environment: /var/tmp/portage/php-4.3.10/image//usr/lib/php/
with myconf=... line:
>>> Install php-4.3.10 into /var/tmp/portage/php-4.3.10/image/ category dev-php
Installing PHP CLI binary: /var/tmp/portage/php-4.3.10/image//usr/bin/
Installing PHP CLI man page: /var/tmp/portage/php-4.3.10/image//usr/share/man/man1/
Installing PEAR environment: /var/tmp/portage/php-4.3.10/image//usr/lib/php/php/
Let Let´s track this in one bug. ;-) *** This bug has been marked as a duplicate of 88763 *** since when is an older bug with an attached solution to a general php problem a duplicate of a newer bug that is about pear stuff only? Please read the solution provided in #88763. Hello, I tried web-cyradm and it will not work until I have installed PEAR-PEAR PEAR-DB. But the main thing was to set in the php.ini: cat /etc/apache2/php.ini | grep php/php include_path = ".:/usr/lib/php/php" Then all work fine even such things like lx-office e.g. Regards Roland This one has _not_ been fixed. I still had the issue when emerge a few PEAR
packages today that ended up in the /usr/lib/php/php directory. The only real
fix for this that I found is to remove myconf="${myconf}
--libdir=/usr/${libdir}/php" from the php-sapi.eclass file.
Stephane, I re-emerged everything in /usr/lib/php/php (epm -qf /usr/lib/php/php to get the package list) and the problem went away for me. |