Page 1 of 1

safe mode question re .htaccess

Posted: Thu Mar 20, 2008 9:36 am
by stuarty80
Hi,

   Can anyone help with this. I have been have trouble with my hosting company. They told me safe mode restrictions were off, now they are tell me to do it manually. Below is the message they sent me.
To turn off the safe mode, create a file by the name .htaccess at the folder where you need this feature disabled. The contents of the file should be -

php_admin_flag safe_mode off
My questions are:

1. How do i create a .htaccess file and what needs to go inside it?
2. Where do i need to place the file/files?

thanks

stu

Re: safe mode question re .htaccess

Posted: Thu Mar 20, 2008 11:35 am
by cubix
create a document called ".htaccess" in the root level of your hosting.

and in it, put the line "php_admin_flag safe_mode off"

still confused? try google. "how to create a htaccess file"