|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-04-15 15:49 UTC] speakus at mail dot ru
Description:
------------
I reproduce problem only if PHP Installed as an Apache module!
No issue on php-cgi
Reproduce code:
---------------
<?php
function Shutdown()
{
file_put_contents("debug.txt", "text", FILE_APPEND);
}
register_shutdown_function('Shutdown');
Expected result:
----------------
file "debug.txt" updated/created with text
Actual result:
--------------
no file created or no updated file
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 10:00:02 2025 UTC |
code: <?php file_put_contents("debug.txt", "text", FILE_APPEND); ?> work - absolutely correcly - create/update the file but submited code - is not. I think it is not possible in simple case "other working directory" ;)