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.
Not a member yet? Click here to register.
Forgot Password?

Safemode OFF to ON?

Asked Modified Viewed 2,750 times
K
Ken
K
Ken 10
No Support by PM. Please use the forum.
  • Senior Member, joined since
  • Contributed 713 posts on the community forums.
  • Started 43 threads in the forums
  • Started this discussions
asked
Senior Member

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 21:38,
0 replies

6 posts

B
bite
B
bite 10
  • Member, joined since
  • Contributed 163 posts on the community forums.
  • Started 5 threads in the forums
answered
Member

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.
0 replies
K
Ken
K
Ken 10
No Support by PM. Please use the forum.
  • Senior Member, joined since
  • Contributed 713 posts on the community forums.
  • Started 43 threads in the forums
  • Started this discussions
answered
Senior Member

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.
0 replies
B
bite
B
bite 10
  • Member, joined since
  • Contributed 163 posts on the community forums.
  • Started 5 threads in the forums
answered
Member

Well its not that easy to find hosting with safemode on... many free hosting's have safemode off.
0 replies
K
Ken
K
Ken 10
No Support by PM. Please use the forum.
  • Senior Member, joined since
  • Contributed 713 posts on the community forums.
  • Started 43 threads in the forums
  • Started this discussions
answered
Senior Member

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 23:36,
0 replies
B
bite
B
bite 10
  • Member, joined since
  • Contributed 163 posts on the community forums.
  • Started 5 threads in the forums
answered
Member

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.
0 replies
K
Ken
K
Ken 10
No Support by PM. Please use the forum.
  • Senior Member, joined since
  • Contributed 713 posts on the community forums.
  • Started 43 threads in the forums
  • Started this discussions
answered
Senior Member

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.
0 replies

Category Forum

Installation Issues - 8

Labels

None yet

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

K
K
Ken 10
No Support by PM. Please use the forum.
  • Senior Member, joined since
  • Contributed 713 posts on the community forums.
  • Started 43 threads in the forums
  • Started this discussions
B
B
bite 10
  • Member, joined since
  • Contributed 163 posts on the community forums.
  • Started 5 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet