First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 86685
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: PHP Bugs <php-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Martin Diers <martin@diers.us>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 86685 depends on: Show dependency tree
Bug 86685 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-03-25 10:23 0000
Versions of PHP prior to 4.3.10, had an include_path of /usr/lib/php.  In
version 4.3.10, this has changed to /usr/lib/php/php. However, php.ini is not
updated when th package is upgraded, thus any includes, such as DB, are not
found until include_path is changed.

------- Comment #1 From Stefan Knoblich (RETIRED) 2005-04-08 14:29:22 0000 -------
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/

------- Comment #2 From Jakub Moc (RETIRED) 2005-04-15 19:36:06 0000 -------
Let

------- Comment #3 From Jakub Moc (RETIRED) 2005-04-15 19:36:06 0000 -------
Let´s track this in one bug. ;-)

*** This bug has been marked as a duplicate of 88763 ***

------- Comment #4 From Stefan Knoblich (RETIRED) 2005-04-16 11:23:20 0000 -------
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?

------- Comment #5 From Sebastian Bergmann (RETIRED) 2005-05-10 11:09:03 0000 -------
Please read the solution provided in #88763.

------- Comment #6 From R. May 2005-05-19 05:34:35 0000 -------
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

------- Comment #7 From Stephane Schitter 2005-05-20 00:53:14 0000 -------
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.

------- Comment #8 From Andy Wang 2005-05-24 15:54:36 0000 -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug