|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-02-27 14:54 UTC] tony2001@php.net
[2007-02-27 15:00 UTC] derick@php.net
[2007-07-11 12:35 UTC] jani@php.net
[2011-04-08 21:22 UTC] jani@php.net
-Package: Feature/Change Request
+Package: Apache related
[2021-10-11 13:52 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 03:00:02 2025 UTC |
Description: ------------ When this script is run with the Apache1 sapi the second CWD is reset to /. This is an issue for both php 4.4.4 and php 5.2.1rc3. Reproduce code: --------------- <?php echo "CWD = ", getcwd(), "\n"; function handler() { echo "CWD = ", getcwd(), "\n"; echo dirname( __FILE__ ), "\n"; } register_shutdown_function( 'handler' ); ?>