Bug 15024

Summary: pathing issues with php
Product: [Retired] Red Hat Linux Reporter: Steven Taylor <steven_taylor>
Component: phpAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
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: 2000-08-01 18:07:38 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 Steven Taylor 2000-08-01 18:07:36 UTC
phpGroupWare, which works under 6.2 using relative paths
ex.  include("inc/config.inc.php");

fails unless you specify full path
ex. include("/var/www/html/phpGroupWare/inc/config.inc.php");

Comment 1 Nalin Dahyabhai 2000-08-01 18:34:29 UTC
The default include path (which is set now, while it wasn't before) no longer
includes ".".  Change your include statement to "./inc/config.inc.php", and it
should work again.  The next build of PHP (4.0.1pl2-6) will include the current
directory in the include path again.  Please reopen this bug ID if you find that
this is not the case.

Comment 2 Nalin Dahyabhai 2000-08-01 18:35:13 UTC
Or, change the include_path set in /etc/php.ini from "/usr/share/php" to
".:/usr/share/php", which is the fix the next build has.