note 52938 rejected from faq by nlopess

From: Date: Wed, 18 May 2005 13:02:37 +0000
Subject: note 52938 rejected from faq by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-89588@lists.php.net to get a copy of this message
Note Submitter: sofienba at hotmail dot com ---- i encounterd this problem with all php files Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Warning: Unknown: Failed opening '/usr/local/apache/sba/test2.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0 From: sofienba at hotmail dot com Operating system: Unix SCO5 PHP version: 5.0.4 PHP Bug Type: Apache related Bug description: can not open php documents Description: ------------ Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Warning: Unknown: Failed opening '/usr/local/apache/sba/test2.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0 the problem is encounterd with all php files Reproduce code: --------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> \n". "HAPedit 3.1.11.111 (mai 2005 14:46:29)\n"; print_r ($_POST); print_r ($_GET); print_r ($_FILES); $toto=fopen( $_FILES['userfile'][tmp_name],'r'); echo fgets ($toto,100); ?> Expected result: ---------------- HAPedit 3.1.11.111 (mai 2005 14:46:29) Array ( ) Array ( ) Array ( ) ......... Actual result: -------------- Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Warning: Unknown: Failed opening '/usr/local/apache/sba/test2.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0 the problem is encounterd with all php files

« previous php.notes (#89588) next »