This is the most recent topic I can find that deals with this, so here I am. Disclaimer: I'm pretty n00b to server management.
I am running on a godaddy virtual dedicated server using plesk 7.5.2.
I wish to disable open_basedir on a subdomain.
I have created the vhost.conf file in my subdomain's /conf directory and added the appropriate rule as outlined in detail in several posts here and elsewhere.
I have run websrvmng and confirmed that the include line is present in the subdomain's virtual host directive in the httpd.include file for the domain.
All the paths seem correct.
I still get the "open_basedir in effect" errors when I run my php script.
I don't suppose there are any known issues with this? Needless to say, I am very frustrated.
EDIT:
Here's the contents of my vhosts.conf file:
Code:
<Directory /home/httpd/vhosts/allanh.org/subdomains/weblog/httpdocs/>
php_admin_value open_basedir none
</Directory>
So after doing all of the above, I get this error:
Warning: open_basedir restriction in effect. File is in wrong directory in Unknown on line 0
Warning: Failed opening '/home/httpd/vhosts/allanh.org/subdomains/weblog/httpdocs/index.php' for inclusion (include_path='.:/usr/share/pear') in Unknown on line 0
On
every page I try to load suddomain-wide
Once I remove the php_admin_value line from the vhost.conf file, everything returns to "normal".
I am SO confused. Any help would be greatly appreciated.
Sleep time for me.
Cheers!