Bug #3180: Seg. Fault when trying to fopen/fclose
| From: | ipso at home dot com | Date: | Tue, 11 Jan 2000 18:53:09 +0000 |
| Subject: | Bug #3180: Seg. Fault when trying to fopen/fclose | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14506@lists.php.net to get a copy of this message | ||
From: ipso@home.com
Operating system: Redhat Linux 6.0
PHP version: 3.0.12
PHP Bug Type: Reproduceable crash
Bug description: Seg. Fault when trying to fopen/fclose
<?
$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. :)