Question: I tried to use “php_flag safe mode off” command for .htaccess: but my website stop working after this. What is the reason?

Answer: Check the PHP mode for your website. When PHP is running as a CGI mode to disable safe mode is only possible via edit the php file.ini