ID:               19552
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-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] [EMAIL PROTECTED]

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

$_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

Reply via email to