PHP 4.0 Bug #5930: call to undefined function
| From: | porter at hispeed dot com | Date: | Wed, 02 Aug 2000 19:43:18 +0000 |
| Subject: | PHP 4.0 Bug #5930: call to undefined function | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-27488@lists.php.net to get a copy of this message | ||
From: porter@hispeed.com
Operating system: Solaris 2.7
PHP version: 4.0.1pl2
PHP Bug Type: Misbehaving function
Bug description: call to undefined function
I have compiled php4 with the sfio library. Everything compiled fine, except I did get an error for
for the number of params in file.c
#if MISSING_FCLOSE_DECL
extern int fclose();
#endif
I changed this to
#if MISSING_FCLOSE_DECL
extern int fclose();
#endif
then everything compiled fine.
when I try and run the following test script.
<?php $fp=fopen("test.txt","w"); fclose($fp); ?>
I get the following.
Fatal error: Call to undefined function: fopen() in /usr/local/www/htdocs/norwinddesigns/test3.php
on line 2
http://www.norwinddesigns.com:8080/test.php
contains my phpinfo output.