php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18228 mkdir() fails with Bad Address
Submitted: 2002-07-08 09:49 UTC Modified: 2002-07-09 05:37 UTC
From: nohn@php.net Assigned:
Status: Closed Package: Directory function related
PHP Version: 4.2.0 OS: OSF1 V4.0 1530 alpha (Tru64)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nohn@php.net
New email:
PHP Version: OS:

 

 [2002-07-08 09:49 UTC] nohn@php.net
<?php
  mkdir("/tmp/test", 0777);
?>

Fails with Warning: mkdir() failed (Bad address) in /Team/daten/www/test.php on line 2

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-08 10:18 UTC] mfischer@php.net
There was a bug in mkdir() which itself manifested itself first on FreeBSD but which had been fixed in HEAD already. Please give http://snaps.php.net/php4-latest.tar.bz2 a try, I believe the bug is fixed there.
 [2002-07-09 05:37 UTC] nohn@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.

After compiling snapshot php4-200207090000 it works fine :)
Time for a bug-fixing-release, as current releases of PHP don't work on Tru64 (See also #17449)? File-Functions and Array-Functions are essential functions in my eyes.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 23:01:28 2025 UTC