Hi DPs, Is it safe to turn on Safe_Mode Off? The reason I'm asking is because a couple of web hosting providers set it On by default and do not allow member to turn it Off. The reason they gave me is because of security on shared server. Is it absolutely necessary to be on web host that set Safe Mode On? Best Regards, William
I recommended to turn on PHP safe mode as per my experience. But safe mode is not available in PHP 5.4.
PHP safe mode was largely useless and didn't really serve much of a purpose. It was more of a bandaid for people/businesses too lazy to properly secure their server. That's why PHP took it out at v5.4.
PHP safe_mode is very important in terms of server security because it restricts and disables the dangerous functions in PHP from the scripts like PHP Shell that can otherwise cause damage to your server and other websites on server.
If what you said were true it would not be depreciated. Have you read the docs? There are much better ways to secure a server.
Agree with this, it simply just doesn't work hence the reason they have removed it from future versions. The fact it doesn't really work and limits what you can do in PHP, should put anybody off from using it. There a far better system level ways of securing your server