#33052 [Opn->Bgs]: can not open php documents
| From: | tony2001@php.net | Date: | Wed, 18 May 2005 10:42:53 +0000 |
| Subject: | #33052 [Opn->Bgs]: can not open php documents | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-79131@lists.php.net to get a copy of this message | ||
ID: 33052
Updated by: tony2001@php.net
Reported By: sofienba at hotmail dot com
-Status: Open
+Status: Bogus
Bug Type: Apache related
Operating System: Unix SCO5
PHP Version: 5.0.4
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Fix permissions on these files.
Previous Comments:
------------------------------------------------------------------------
[2005-05-18 12:41:13] sofienba at hotmail dot com
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">
<html>
<head>
<title>Sans Titre</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"
/>
<meta name="generator" content="HAPedit 3.1">
</head>
<body bgcolor="#FFFFFF">
<pre>
<?
// Your code here
echo "<hr />\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);
?>
</pre>
</body>
</html>
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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33052&edit=1