|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-06-19 20:17 UTC] tobi at byte23 dot de
[2007-06-19 20:25 UTC] tobi at byte23 dot net
[2007-06-25 13:42 UTC] michael at chunkycow dot com dot au
[2007-06-25 18:01 UTC] tony2001@php.net
[2007-06-26 16:07 UTC] tobi at byte23 dot net
[2007-06-26 16:43 UTC] sniper@php.net
[2007-07-04 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 21:00:01 2025 UTC |
Description: ------------ Since the last update of my NetBSD system to PHP 5.2.3 all includes of the type include("../file.php") are denied. For example: in file /foo/subdir/alpha.php I want to include /foo/beta.php the following error occurs: --- Warning: require(../beta.php) [function.require]: failed to open stream: Permission denied in /foo/subdir/alpha.php on line 2 Fatal error: require() [function.require]: Failed opening required '../beta.php' (include_path='.') in /foo/subdir/alpha.php on line 2 --- Following things are checked twice: The filepermissions are OK, Apache (and every other user) can execute and read them. Directory permissions are aswell OK. PHP Configuration is set to default settings. As I said everything worked totally fine since the latest update. Thanks to everyone! Reproduce code: --------------- in /foo/subdir/alpha.php : require("../beta.php"); Expected result: ---------------- Should include the file... Actual result: -------------- Permission denied, whereas all permissions are set totally OK and configuration is set to default settings.