#3180 [Opn->]: Seg. Fault when trying to fopen/fclose

From: Date: Tue, 01 Oct 2002 19:15:15 +0000
Subject: #3180 [Opn->]: Seg. Fault when trying to fopen/fclose
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21062@lists.php.net to get a copy of this message
ID: 3180 Updated by: hholzgra@php.net Reported By: ipso@home.com -Status: Open +Status: Won\'t fix Bug Type: Reproducible Crash Operating System: Redhat Linux 6.0 PHP Version: 3.0.12 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2000-01-11 13:53:09] ipso@home.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. :) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=3180&edit=1

« previous php.bugs (#21062) next »