#19552 [NEW]: path is always where php was compiled
| From: | sproctor at ccs dot neu dot edu | Date: | Sun, 22 Sep 2002 21:53:11 +0000 |
| Subject: | #19552 [NEW]: path is always where php was compiled | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-20055@lists.php.net to get a copy of this message | ||
From: sproctor@ccs.neu.edu
Operating system: linux
PHP version: 4.2.3
PHP Bug Type: *Directory/Filesystem functions
Bug description: path is always where php was compiled
$_ENV['PWD'] always returns /home/sproctor/php-4.2.3 (where php was
compiled). I expect it to be /var/www/reliance/pn (where the script is
run from). I compiled php with apxs2 and apache 2.0.40.
It's not just the variable that's wrong, but doing something like include
"filename" will search in /home/sproctor/php-4.2.3, for clarity.
Thanks!
--
Edit bug report at http://bugs.php.net/?id=19552&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19552&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19552&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19552&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19552&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19552&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19552&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19552&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19552&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19552&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19552&r=globals