PHP include: failed to open stream: no such file in "/literally/the/exact/location/of/the/file"? -
so while trying include file in php, using include(/users/leonaves/sites/mysite/admin/inc/pages/dashboard.php)
(i'm running locally), php tells me:
failed open stream: no such file or directory in /users/leonaves/sites/mysite/admin/inc/page_request.php on line 86.
i have tried including relative path, absolute path, declaring root in variable etc. etc. have no idea how make file include other. php refuses find @ exact location is. amazing, thank you.
php executes scripts found in directories specified in open_basedir
. path not allowed.
Comments
Post a Comment