Red Hat Bugzilla – Bug 67815
Incorrect search path in /etc/php.ini
Last modified: 2005-10-31 17:00:50 EST
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
Version-Release number of selected component (if applicable):
Do a cd to /usr/share/php. The directory doesn't exist. The packages are
installed in /usr/share/pear.
Steps to Reproduce:
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
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
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