English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I've got space on a shared webserver (hosted by canaca.com), and I need to set up a wiki-type service. However, it won't allow user uploads due to safe_mode. I'm usually fine with figuring out this sort of thing, but I have no idea what file to edit and I'm not sure where I'd find it.

2007-02-14 12:54:35 · 3 answers · asked by ? 5 in Computers & Internet Programming & Design

3 answers

To disable safe mode you need to change the php.ini. Right now, there is a line in there that says:

safe_mode = 1

You need to change it to

safe_mode = 0

Many hosting services, however, do not let you do that, because there is only one php.ini per server, and only system administrators can change it.

2007-02-17 17:47:05 · answer #1 · answered by NC 7 · 0 0

I believe it's in the config file, which is php.ini ( I think ).

You have to have access to the server configuration.

If you're on a shared server, you don't have access to this file ( i'm almost sure of this ).

run the phpinfo() function to be sure it's disabled.

contact you tech support for the server, but i don't think the'll change their server for you though.

good luck.

2007-02-14 13:06:26 · answer #2 · answered by ? 3 · 1 0

If you dun have the access to php.ini, you can always append this line in your scripts (beginning) to disabled the safe mode:

ini_set('safe_mode', '0');

2007-02-14 17:10:57 · answer #3 · answered by ajreal 2 · 0 0

fedest.com, questions and answers