php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1447 rmdir() just doesn't work
Submitted: 1999-05-24 14:24 UTC Modified: 1999-06-20 09:51 UTC
From: mnc at nih dot gov Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.8 OS: NT 4.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mnc at nih dot gov
New email:
PHP Version: OS:

 

 [1999-05-24 14:24 UTC] mnc at nih dot gov
This script:

<? rmdir ("c:/cannonfodder.txt"); ?>

Results in this message:

Fatal error: Call to unsupported or undefined function rmdir() in d:\inetpub\wwwroot\rmdir.php on line 1

In PHP 3.0.7 and 3.0.8 under Apache 1.3.6 and IIS 4.0 on NT 4.0.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-05-24 14:26 UTC] mnc at nih dot gov
Yes, I know "cannonfodder.txt" probably isn't a directory. But it fails just as well with directories. I don't think it ever gets around to checking.
 [1999-06-20 09:51 UTC] sas at cvs dot php dot net
Looks like your build was mixed up. Such an error message would indicate that all file functions are not defined since rmdir is defined in the same structure. Try to rebuild the binary or use a pre-built one (see the download page).
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 09:00:02 2026 UTC