Im trying to run a script on my shared hosting account, i keep getting an error relating to open_basedir, which i understand would normally be turned off in the php.ini file, which i dont have access to.
Speaking with the host they recommneded that i put this line php_flag open_basedir off
in my htaccess file, so it now looks like this :
<Files ~ "^\.(htaccess|htpasswd)$">
deny from all
</Files>
AuthUserFile /var/www/vhosts/mydomain.co.uk/httpdocs/pri/.htpasswd
AuthGroupFile /dev/null
AuthName "Please enter your ID and password"
AuthType Basic
require valid-user
order deny,allow
php_flag open_basedir off
But i still cant get the script to run, have i implemented it correctly ? Is there a line in the phpinfo() output that i can view to tell if its worked ?