I'm 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 don't have access to.
Speaking with the host they recommended 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?