Bug 15024 - pathing issues with php
pathing issues with php
Product: Red Hat Linux
Classification: Retired
Component: php (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Depends On:
  Show dependency treegraph
Reported: 2000-08-01 14:07 EDT by Steven Taylor
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-08-01 14:07:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Steven Taylor 2000-08-01 14:07:36 EDT
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 14:34:29 EDT
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 14:35:13 EDT
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.

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