php_value memory_limit 64M
php_value upload_max_filesize 8M
Safe mode can't be disabled via htaccess
Create a file including the following directive in /etc/httpd/conf/httpd.conf
under the particular domain's virtualhost add
php_admin_value safe_mode Off