#21713 [Com]: include (URL) doesn't remove temporary files

From: Date: Wed, 05 Feb 2003 22:24:44 +0000
Subject: #21713 [Com]: include (URL) doesn't remove temporary files
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-32246@lists.php.net to get a copy of this message
ID: 21713 Comment by: sfox@carleton.edu Reported By: czuma@poland.org Status: Assigned Bug Type: *Directory/Filesystem functions Operating System: Solaris 8 PHP Version: 4.3.0 Assigned To: wez New Comment: I've run into this as well since upgrading from 4.2.1 to 4.3 under Solaris 8/Apache. It only happens when an include is processed that refers to a file that does NOT exist. Every time this happens a file named php???? is left behind in /var/tmp using up a file handle. 2 errors are logged. For example: [error] PHP Warning: main(left_menu.php) [<a href='h ttp://www.php.net/function.main'>function.main</a>]: failed to create stream: No such file or directory in....... [error] PHP Warning: main() [<a href='http://www.php .net/function.main'>function.main</a>]: Failed opening 'left_menu.php' for inclusion (include_path='.:/home/www/code') in...... Previous Comments: ------------------------------------------------------------------------ [2003-01-17 19:29:12] wez@php.net Let's keep this one open until I verify it; I have reason to believe that this is a valid problem. ------------------------------------------------------------------------ [2003-01-17 19:27:43] sniper@php.net Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. ------------------------------------------------------------------------ [2003-01-17 12:47:23] czuma@poland.org include("URL") doesn't remove temporary files in /var/tmp PHP creates /var/tmp/php?????? files until... ufs: [ID 682040 kern.notice] NOTICE: /var: out of inodes ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21713&edit=1

« previous php.bugs (#32246) next »