note 92340 added to function.require-once

From: Date: Mon, 20 Jul 2009 16:25:21 +0000
Subject: note 92340 added to function.require-once
Groups: php.notes 
Request: Send a blank email to php-notes+get-158514@lists.php.net to get a copy of this message
If you get "failed to open stream" although you are sure your include_path is correct, check your open_basedir setting. I spent 2 hours trying to figure out why although my inclusion path was good, php kept sending me the "failed to open" error. It was simply because my included directory was outside the scope of the open_basedir which blocks php from accessing file outside you root directory(usually). I think the error you send the "open_basedir restriction in effect" in this case. ---- Server IP: 64.71.164.2 Probable Submitter: 80.9.5.18 ---- Manual Page -- http://www.php.net/manual/en/function.require-once.php Edit -- https://master.php.net/note/edit/92340 Del: integrated -- https://master.php.net/note/delete/92340/integrated Del: useless -- https://master.php.net/note/delete/92340/useless Del: bad code -- https://master.php.net/note/delete/92340/bad+code Del: spam -- https://master.php.net/note/delete/92340/spam Del: non-english -- https://master.php.net/note/delete/92340/non-english Del: in docs -- https://master.php.net/note/delete/92340/in+docs Del: other reasons-- https://master.php.net/note/delete/92340 Reject -- https://master.php.net/note/reject/92340 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#158514) next »