Bug 67815

Summary: Incorrect search path in /etc/php.ini
Product: [Retired] Red Hat Linux Reporter: gerry_doris
Component: phpAssignee: Phil Copeland <copeland>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: low    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-07-02 14:08:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description gerry_doris 2002-07-02 14:08:49 UTC
Description of Problem:
/etc/php.ini supplies an include path of /usr/share/php.  That doesn't exist in 
Redhat 7.3.  Instead the php packages are installed in /usr/share/pear.  This 
causes problems with applications that use php ie. installing mysql support for 
squirrelmail.

Version-Release number of selected component (if applicable):


How Reproducible:
Do a cd to /usr/share/php.  The directory doesn't exist.  The packages are 
installed in /usr/share/pear.

Steps to Reproduce:
1. 
2. 
3. 

Actual Results:


Expected Results:


Additional Information:
I ran into this when installing mysql support for squirrelmail.  squirrelmail 
reponded with an error that it couldn't find one of the pear packages it needed 
in directory /usr/share/php which is listed as the php search path 
in /etc/php.ini.  

I fixed it by just doing a ln -s /usr/share/pear /usr/share/php

You should change the search path to replace /usr/share/php 
with /usr/share/pear.

Comment 1 Phil Copeland 2002-08-02 18:49:09 UTC
Humm
well thats the default php abuses

; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"

(what were they thinking with a pathname like that)

I've inserted this into the standard php.ini file

include_path = ".:/usr/share/pear"              

I've additionally looked at php 4.2.2 and it did the same thing
rawhide currently doesn't show 7.x components that are rebuilt for errata but
this one is queued up for the next 7.x errata release. php 4.2.2-x has the fix
in and will be available from rawhide tomorrow I'd think

Phil
=--=