Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.
Navigation

Safemode OFF to ON?

Last updated on 11 years ago
KenKen
Posted 11 years ago
I'm going to move a PHPFusion v6.01.19 site from a host with:

SafeMode Off
SafeMode GID Off

to another host with:
SafeMode On
SafeMode GID On

Will this be a problem?

I think there will atleast be some problems with the Photogallery. What can I do?
I was hoping that I do not have to delete all the photos and start all over...
Edited by Ken on 17-01-2010 20:38, 11 years ago
bitebite
Posted 11 years ago
Well first of all do you really need SafeMode?
PHP deprecating SafeMode from PHP5.3.0 and removing it from PHP6.0. I think, what they had good reason to do so.
There will be problems with file manipulation(moving, copying, changing ownership/permissions), file uploading, and using some functions like exec and system.
Well as far as I know PHPFusion will be fine, and your photos to, however, uploading new photos may be a problem.
Also, you can always create whole Photogallery offline, then dump photogallery table, import it to your online website, and upload all photogallery images from offline to online website.
KenKen
Posted 11 years ago
The problem is that I'm not running ther server myselves, but using a external webhost so I can not choose to have Safemode off or on. I'm stuck with the webhosts settings.
No Support by PM. Please use the forum.
bitebite
Posted 11 years ago
Well its not that easy to find hosting with safemode on... many free hosting's have safemode off.
KenKen
Posted 11 years ago
I'm not using free hosts :) - by the way; www.Web10.dk (not free) runs with Safemode On so thats not a problem if you want it on. But since the "old" host (also not free) is using Off I get this little issue.

Maybe anyone using www.One.com can check if they are using Safemode On or Off? - Maybe I can use One.com instead of Web10.

You can use this little script in a custom page to see if it's on or off:

<?php
if (ini_get ( "safe_mode" ))
{
  echo "SafeMode On";
}
else
{
  echo "SafeMode Off";
}
echo"<br>";
if (ini_get ( "safe_mode_gid" ))
{
  echo "SafeMode GID On";
}
else
{
  echo "SafeMode GID Off";
}
?>


Edit: Well, I just Googled and it seems that One.com is using Safemode ON too, so I'm still stuck :)
Edited by Ken on 17-01-2010 22:36, 11 years ago
bitebite
Posted 11 years ago
What I meant to say is that its very unpopular nowadays to use Safemode On. I don't know exact way, but I know what there are other ways to add protection whiteout using safemode, maybe even better ways.
KenKen
Posted 11 years ago
ok I understand. The best thing would be that PHPFusion was set up to work even if the Safemode changes. Let's say that my site runs on Safemode On and then my host needs to change this to Off because of PHP 6 runs with Safemod Off. The my site will start to fail; atleast this is how I see would happen.
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
You cannot set up a bounty in this discussion thread.
Moderator: Support Team
Users who participated in discussion: Ken, bite,