Bug 138642 - RFE: add pear to php.ini include_path
RFE: add pear to php.ini include_path
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: php (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
David Lawrence
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-11-10 09:24 EST by Marius Andreiana
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-11-10 13:37:37 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Marius Andreiana 2004-11-10 09:24:24 EST
Please include pear by default in php.ini:
< ;include_path = ".:/php/includes"
---
> include_path = ".:/usr/share/pear/"

(there are no errors if php-pear it's not installed)

Thanks
Comment 1 Joe Orton 2004-11-10 11:29:41 EST
Given that this is the hard-coded default:

$ echo '<? print ini_get("include_path"); ?>' | php -q; echo
.:/usr/share/pear
$

can you explain why it's necessary or desirable to add it to
/etc/php.ini as well?

Comment 2 Marius Andreiana 2004-11-10 13:37:37 EST
I didn't know it's the hardcoded default. Would be clearer to be in
php.ini, but as it works without it I'll close this.

Note You need to log in before you can comment on or make changes to this bug.