Installing Amxbans safe mode ?

Connect with other users about what to run on your webhosting (and how to run it) here.
Post Reply
User avatar
hlds_noob
Compulsive poster
Compulsive poster
Posts: 69
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sun Feb 20, 2011 10:28 pm
Contact:

Installing Amxbans safe mode ?

Post by hlds_noob »

I am in the process of installing amxbans into one of my databases and amxbans is saying "safe_mode" is off and will work, but is not recommended.

Is safe mode an apache variable and do I need it for security, or is it safe to continue with this install ?
User avatar
hlds_noob
Compulsive poster
Compulsive poster
Posts: 69
Joined: Sun Feb 20, 2011 10:28 pm
Contact:

Re: Installing Amxbans safe mode ?

Post by hlds_noob »

I continued with the installation and everything seems fine, but it says the following,


If you have permisison to configure your PHP, open php.ini or the options of PHP and turn the options/lines
safe_mode
register_globals
magic_quotes_gpc
display_errors
in off.

I assume the amxbans creators, want those variables set to OFF.

Can you turn them off for me ?
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Installing Amxbans safe mode ?

Post by Edge100x »

Those should all be set to off by default.
User avatar
hlds_noob
Compulsive poster
Compulsive poster
Posts: 69
Joined: Sun Feb 20, 2011 10:28 pm
Contact:

Re: Installing Amxbans safe mode ?

Post by hlds_noob »

Yes they are, but amxbans says safe_mode should be on.

Image
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Installing Amxbans safe mode ?

Post by Edge100x »

It should work fine with safe mode off. Safe mode is a feature of PHP that restricts access to certain features, designed to make shared hosting possible back before better security measures were available.

You could also try turning safe mode on with ini_set in an .htaccess file, but you shouldn't need to, and I'm not even sure if mod_php would allow it. Safe mode is a deprecated feature.
User avatar
hlds_noob
Compulsive poster
Compulsive poster
Posts: 69
Joined: Sun Feb 20, 2011 10:28 pm
Contact:

Re: Installing Amxbans safe mode ?

Post by hlds_noob »

alrighty, thanks for the quick reply Edge 100x.
Post Reply