#19552 [Opn->Fbk]: path is always where php was compiled
ID: 19552
Updated by: sander@php.net
Reported By: sproctor@ccs.neu.edu
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: linux
PHP Version: 4.2.3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-09-22 16:53:11] sproctor@ccs.neu.edu
$_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 this bug report at http://bugs.php.net/?id=19552&edit=1
Thread (7 messages)