The PHP safe mode is an attempt to solve the shared-server security problem. To quote from the PHP manual:
It is architecturally incorrect to try to solve this problem at the PHP level, but since the alternatives at the web server and OS levels aren't very realistic, many people, especially ISP's, use safe mode for now.
If the PHP safe mode is architecturally incorrect to try to solve this problem at the PHP level then at what level should this be solved? How?
Some people say you can secure your site without safe mode or with safe mode off but recording to some experienced hosts support guys. It's not possible to have full security with safe_mode_off
even if you have alternative security tools, such as ModSecurity.
So, I'm not sure which is right? I'm now totally confused and trying to find a reliable and accurate solution for this case to run my sites with safe_mode_off
servers or without it but couldn't.