Disabling PHP safe mode site wide
When I was installing Gallery 2, I was facing a problem. Gallery 2 needs PHP safe mdoe to be disabled. My host enabled it by default. I have tried to change it using '.htaccess'. But, it was not working. Finally, I have changed the apache configuration and made it work. Here is the documentation for doing that.