php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3180 Seg. Fault when trying to fopen/fclose
Submitted: 2000-01-11 13:53 UTC Modified: 2002-10-01 14:15 UTC
From: ipso at home dot com Assigned:
Status: Wont fix Package: Reproducible Crash
PHP Version: 3.0.12 OS: Redhat Linux 6.0
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ipso at home dot com
New email:
PHP Version: OS:

 

 [2000-01-11 13:53 UTC] ipso at home dot com
<?
                $fp = fopen("./test.tmp", "w+") or die("unable to open file test.tmp"); 
                fputs($fp,"sudo mkdir $dir\n");
                fclose($fp);

?>

./configure --with-apxs=/usr/sbin/apxs --with-mysql --with-ldap


I've tried the same thing on two different boxes (both RH6.0 though) and the same
problem seems to creep up. It seems so basic that it has to be something lame in my code, 
but a seg fault is a little harsh as far as error messages go. :)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 14:15 UTC] hholzgra@php.net
We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 30 19:01:32 2024 UTC