#19552 [Fbk->Opn]: path is always where php was compiled
| From: | sproctor at ccs dot neu dot edu | Date: | Tue, 24 Sep 2002 20:27:13 +0000 |
| Subject: | #19552 [Fbk->Opn]: path is always where php was compiled | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-20226@lists.php.net to get a copy of this message | ||
ID: 19552
User updated by: sproctor@ccs.neu.edu
Reported By: sproctor@ccs.neu.edu
-Status: Feedback
+Status: Open
Bug Type: Apache2 related
Operating System: linux
PHP Version: 4.2.3
New Comment:
I tried the latest version. now $_ENV['PWD'] is just
/home/sproctor/php4-200209240900. I imagine it's an apache2 issue
because that's the only weird thing I'm doing. apache2 works fine on
our server for everything else. I'll try building it as a CGI and see
if that works.
Previous Comments:
------------------------------------------------------------------------
[2002-09-23 05:27:48] sander@php.net
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
------------------------------------------------------------------------
[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