One of our new clients is hosted on a Parallel Plesk system and I need to install Codeigniter into a sub-domain for my project. To do this I need to place files into a directory thats above the web root, but the only issue, is that Plesk blocks access to scripts in all base directories except for /private, /httpdocs & /httpsdocs. I have uploaded my application & system files to /private, but keep getting the following error:
Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/var/www/vhosts/example.com/private/system) is not within the allowed path(s): (/var/www/vhosts/example.com/httpdocs:/tmp) in /var/www/vhosts/example.com/httpdocs/sub-domains/dms/index.php on line 143
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/www/vhosts/example.com/private/system/) is not within the allowed path(s): (/var/www/vhosts/example.com/httpdocs:/tmp) in /var/www/vhosts/example.com/httpdocs/sub-domains/dms/index.php on line 152 Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php
I can't upload to the /conf file, so I can't place a vhost.conf file in there and use that work around. Any ideas?