ID: 22125 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Filesystem function related Operating System: Solaris PHP Version: 4.3.0 New Comment:
I'm getting a similar no return from fopen() command since web hosts upgraded to PHP 4.3 System is running Apache/1.3.27 (Unix). I tried adding 'error_reporting(E_ALL);' with no change or error reported. No problem before upgrade and script works fine on Apache 1.3.27 with PHP 4.2.3 Server admins were unable to suggest a reason for the change. Hope this might be of some help, apologies if not. I can provide script if required. Previous Comments: ------------------------------------------------------------------------ [2003-02-08 14:14:07] [EMAIL PROTECTED] There are many reasons why the fopen() might fail.. Try adding 'error_reporting(E_ALL);' to your script before fopen() call and you'll propably get an error message saying why it fails.. ------------------------------------------------------------------------ [2003-02-08 14:03:59] [EMAIL PROTECTED] A simple fopen() command returns a false rather than a handle. The same script works correctly on Solaris with PHP 4.2.3 and works correctly under Redhat 8.0 with PHP 4.3.0 and 4.2.3 and Tru64 with the same versions. I have configured PHP with the following options: ./configure --with-mysql --enable-wddx --with-apxs2=/usr/local/apache2/bin/apxs Please feel free to contact me if you need any additional information. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22125&edit=1