Fix bug on VPS can't overide configs to open_base_directory
This is a real headache. Why the heck do i spend so much time fighting the file system because simple concepts are screwy.
include "../../securepassword.php"
No matter what i do, i can't get apache to let me access webroot folders. obviously i don't wan't google indexing this folder so the only safe place is above public.
Countless hours wasted. In cpanel it works. plesk it doesn't
my hosting company say not our job. really disappointing. the only way to get open base directory access is to use cpanel by moving server again... headaches downtime lost money.
There is no bug, you simply didn’t configure your open_basedir right and strange that your hosting provider wasn’t able to help. The solution is easy – go Websites & Domains > PHP Settings > open_basedir, then select “{WEBSPACEROOT}{/}{:}{TMP}{/}” option. Actually it must be default for all new versions of Plesk.
In case you have further questions/issues, please choose to post at our forum and ask for assistance there http://forum.parallels.com/forumdisplay.php?677-Parallels-Plesk-Panel-11-x-for-Linux-Problems-Suggested-Fixes-and-How-To
This location is for feature suggestions only.
Thank you
-
Anonymous commented
This does not fix it completely. Cron jobs still through warning. hence my post.
PHP Warning: include(): open_basedir restriction in effect.