Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131330 - PEAR HTML_Table cannot be found - no good include_path
Summary: PEAR HTML_Table cannot be found - no good include_path
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-26 05:47 UTC by Alexander Skwar
Modified: 2006-04-26 05:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2006-04-26 05:47:26 UTC
For PHP herd.

In /etc/php/apache2-php5/php.ini, I've got:

include_path = ".:/usr/share/php5:/usr/share/php"

That's the default - I did not customize it.

But see where PEAR-HTML_Table installed the PHP files:

dir /usr/lib/php5/lib/php/pear
dir /usr/lib/php5/lib/php/pear/HTML
dir /usr/lib/php5/lib/php/pear/HTML/Table
obj /usr/lib/php5/lib/php/pear/HTML/Table/Storage.php adddf61b4562beba1241e4c1bc18d907 1146054605
obj /usr/lib/php5/lib/php/pear/HTML/Table.php 0bd6f5f994ba9eeaddaca86779e3ed75 1146054605

As you can see, it's under "/usr/lib/php5/lib/php/pear". That directory is not in the default include_path. I think it should be in the default include_path.


I'm using:

[ebuild   R   ] dev-lang/php-5.1.2-r1  USE="-adabas -apache apache2 bcmath berkdb -birdstep bzip2 calendar cdb -cgi -cjk cli crypt ctype -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path doc -empress -empress-bcs -esoob exif -fastbuild -fdftk -filepro -firebird flatfile -force-cgi-redirect -frontbase ftp gd -gd-external gdbm -gmp -hardenedphp hash -hyperwave-api iconv imap -informix inifile -interbase -iodbc -ipv6 -java-external -kerberos ldap libedit -mcve -memlimit -mhash -ming -msql -mssql mysql mysqli ncurses nls -oci8 -oci8-instant-client odbc pcntl pcre -pdo -pdo-external -pic posix -postgres -qdbm -readline -recode -reflection -sapdb -sasl session sharedext -sharedmem -simplexml -snmp -soap sockets -solid spell spl sqlite ssl -sybase -sybase-ct sysvipc threads tidy -tokenizer -truetype -unicode -vm-goto vm-switch -wddx xml -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz zip zlib" 0 kB
Comment 1 Alexander Skwar 2006-04-26 05:55:32 UTC
After ermoving /etc/pear.conf and PEAR-PEAR, PEAR-HTML_Common and PEAR-HTML_Table, I re-emerge PEAR-HTML_Table. This put the files in 

./usr/share/php/HTML/
./usr/share/php/HTML/Table/
./usr/share/php/HTML/Table/Storage.php
./usr/share/php/HTML/Table.php

That path is in the default include_path

Closing bugh.