Bug 138642 - RFE: add pear to php.ini include_path
Summary: RFE: add pear to php.ini include_path
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: php
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-11-10 14:24 UTC by Marius Andreiana
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-11-10 18:37:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marius Andreiana 2004-11-10 14:24:24 UTC
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 16:29:41 UTC
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 18:37:37 UTC
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.