The document root is your public_html folder.
The php_flag's should work fine in the .htaccess file there - unless your server has PHP running as a CGI module.
1. Is your server linux or Windows?
2. If you look at your admin->tools->server info, what does it say in the first section on this line:
Server API Apache
Bookmarks