From:             [EMAIL PROTECTED]
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

Reply via email to