I've read up plenty in the PHP manual about open_basedir and why I'm getting an error (that it's not enabled), but I can't figure out how to set it.
We just got a dedicated server so I'm not used to this sort of thing. It's running FreeBSD, as well as Plesk.
I ran "locate httpd.conf" and found it in /user/local/psa/apache/conf but I can't find any sort of reference to open_basedir.
Am I supposed to just add:
<IfModule sapi_apache2.c>
php_admin_value open_basedir /dir/site/
</IfModule>
somewhere in the file?
Also, if that's the case, what do I set the directory as? Should it be relative to the server root or the site root? As in "/user/local/psa/homst/vhosts/site/" or as in "/"
I assume that will reconfigure the directive for the entire server, but that doesn't matter.
I'm kinda new to this server admin stuff. Thanks guys.